View Full Version : DietPi V100 Imminent
Rothchild
01-11-2015, 11:31
Exciting times!
Diet Pi has been under heavy development and v100 is about to drop. This version completes the migration to 'Jessie' (the current version of Debian / Raspbian) and also sees DP establish itself as probably the most comprehensive platform for building audio devices on a Pi.
In v100 you are now able to install the following audio platforms / programs
MiniDLNA
http://sourceforge.net/p/minidlna/git/ci/master/tree/
MPD
http://git.musicpd.org/cgit/master/mpd.git/
YMPD
https://github.com/notandy/ympd
SubSonic
www.subsonic.org
SqueezeBox
https://github.com/Logitech/slimserver
Ampache
https://github.com/ampache/ampache
I'm really looking forward to testing out Ampache, when I first started using Subsonic it was the only real competitor on features but development on it had died off. Since then it's come back into active development and is a lot more free than Subsonic (no 'premium' licence aspect).
For the next cycle I'm going to be working on ensuring the installation of subsonic is as minimal as possible.
As well as a range of software options (and i2s DAC drivers) dietpi also includes a number of simple tools to tweak and maintain your pi with - including dietpi-sync which can back up your music folder (across the network if needed) and keep track of changes, dietpi-backup which enables you to back up your whole configured system and dietpi-nice which lets you change the processing priority of the apps you've got installed, channelling resources to the most important ones.
Try it for yourself with info and images available at http://dietpi.net
pitadavespa
03-11-2015, 17:46
This look great, I'll definitely try it.
Do you know if it supports hiface? :)
Rothchild
03-11-2015, 18:20
It has an up-to-date kernel so it should work - if we can work out which module to install!
The developer 'Fourdee' is very responsive so if we work out how to do it he will almost certainly add it as an option (you can already select all of the hifiberry-dac drivers as part of the configuration tool.
pitadavespa
03-11-2015, 18:50
I don't know if this is important or not, but the Hiface 1 is not a DAC, it's just an USB to S/PDIF converter.
I would like to try Subsonic, but no NAS support?
Rothchild
03-11-2015, 21:31
I would like to try Subsonic, but no NAS support?
Just mount your NAS (by samba or ftp) to dietpi (by default they'll mount to /mnt/samba or /mnt/ftp_client), then direct Subsonic to the folder in the webapp.
Just mount your NAS (by samba or ftp) to dietpi (by default they'll mount to /mnt/samba or /mnt/ftp_client), then direct Subsonic to the folder in the webapp.
Thanks Marc, will give it ago when I have a minute. :)
Rothchild
04-11-2015, 10:40
In the dietpi-config program you can define where samba shares are, so that they're automatically mounted at boot time. You just need to know the IP of the NAS and the share name.
Sharing by FTP is preferable however as it delivers a much faster transfer rate.
Let us know how you get on.
Thanks again Marc, might be while till I can get around to it. :)
Rothchild
07-11-2015, 20:21
v100
(07/11/15)
New Image: http://dietpi.net
DietPi for Orange Pi PC is now available (Beta): http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=662&extra=page%3D1
New Features:
DietPi-Cleaner | New program. Allows you to remove unwanted 'junk' (eg: CCleaner) to free up system resources. http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5&p=623#p623
DietPi-Software | Added DietPi optimized installation option for OpenVPN Server: http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5&p=613#p613
Changes:
DietPi-Software (RPi) | HQ audio is now enabled by default when alsa is flagged for install.
DietPi-Software (RPi armv6 Jessie) | FFmpeg will now install libs, rather than lib-dev packages: #84 (comment)
DietPi-Config > Tools > Benchmark | Vastly improved the accuracy of filesystem benchmarking. The recorded speeds should now be inline with "real world" usage. DD now uses 4K blocksize which is default for SSD and /tmp (ram).
General | Hostname on new installations has change from dietpi to DietPi.
General | Changed ondemand scaling up, to 50% cpu usage (previously 60).
Bug fixes:
DietPi-Cloudshell | Resolved a memory leak caused by incorrect array usage.
General (Jessie) | Resolved issue with CRDA error print on tty1. Many thanks to Luis for the resolution: #102 (comment)
Orange Pi PC | Local sound now works, also added option to dietpi-config allowing you to change HDMI or 3.5mm default output.
You can view, comment on, or merge this pull request online at:
https://github.com/Fourdee/DietPi/pull/108
Rothchild
14-11-2015, 18:23
Well, I tried Ampache but I'm afraid I'm clearly too used to Subsonic now (and I have a premium licence) so the 'effort' of migrating seemed too much to deal with and I'm back on Subsonic for now - such a great combination of easy to use tools and a nice interface...
V100 of DietPi is super slick though. I'm really liking all the 'bonus features' like diet-sync, which enables me to automate backups really easily (I have a second drive on the back or my router shared over samba and mounted to a folder in the pi so all my music files are automatically backed up to it from the main Pi drive every night) also, the use of FTP to get files in to the Pi in the first place (as I don't have an optical drive attached to it at the moment) is a real boon as the transfer speeds are so much quicker than over samba (and FTP works easily on both windows and linux machines of which I have both knocking about the house).
Indeed, there seems to be so much spare processing overhead left, even when I'm transcoding files to be streamed out over the internet, that I'm thinking I might also have a play with some of the webserver / vpn tools on the same pi (audiophile blasphemy I know but hey, it's all just processing cycles innit!)
EDIT:
By pure coincidence as I was typing this post V101 has been posted with a nice broad set of fixes, tweaks and updates:
v101
(14/11/15)
Changes:
DietPi-Software | Enabled minidlna installation option for Orange Pi and VMware.
DietPi-Software | Modified the installation method of phpBB3 forums. No longer uses apt installation. Downloads and sets up the phpbb.zip.
DietPi-Config > AutoBoot options | Added "Console: Automatic Login" option. Useful for custom projects that require autologin on main terminal (tty1), without launching a specific program.
DietPi-Config (RPi) > Audio options > Soundcard | You can now select "none" as your soundcard. This will disable the snd-bcm2835 kernel module, saving memory and resources.
DietPi-Config (OPi PC) | Changed 3.5mm asound.conf to use plug rather than direct hw.
DietPi-Software (OPi PC) | Installing HiFi will now default to 3.5mm output and unmute it, regardless of default device used in asound.conf.
Bug fixes:
DietPi-Ramlog | Resolved an issue where "Full" and "None" logging modes, would clear logfile contents during boot. #112
DietPi-Apt-get_Update | Resolved an issue where the state file would stay at 0 (which believes apt-get is running), causing endless waiting.
DietPi-Software (RPi Jessie) | Resolved an issue where Kodi would install using packages from deb.multimedia, rather than Raspbian. This was due to FFMPEG installation which requires the additional repo. After installing FFMPEG, the deb.multimedia repo will now be removed. #111
DietPi-Software (OPi PC) | Resolved broken volume controls for HiFi (mpd+ympd) using 3.5mm output.
DietPi-External_drive_setup (RPi) | When setting up a dedicated external drive, rootdelay=10 will be added to cmdline.txt. This should prevent slow powering external drives, from failing to be ready and mountable during boot.
pitadavespa
18-11-2015, 15:00
Yesterday I (finally!) tried dietpi.
I felt it is a very stable, well thought platform.
I took its time to install, but everything went just fine (except Subsonic, which couldn't be downloaded).
I couldn't stand with the Hifi/MPD deamon, though. I thought it was similar to Volumio/MoOde, but it isn't that same thing at all.
I tried Ampache but didn't like it. It worked, I could play files from the USB disc attached to the PI but I wasn't able to put the PI playing them itself (sorry for my English, I hope you understand...).
I really liked Kodi to play videos. Really fluid and stable. I just wish it was as good as Volumio/MoOde to play music... Maybe I can install some addon to make it better?
Also, transferring files using FTP from my computer to the usb disc attached to the Pi work, but it was painfully slow, around 150KB/s. Why is that?
My network is NOT that slow...
--
One question: should I connect my USB discs to Pi or to the router?
I guess each has its vantages and disadvantages ,right?
Thank you all,
Luis
Rothchild
18-11-2015, 18:34
Hi Luis,
Probably worth another go with Subsonic, the issue is that the installation package is downloaded from Sourceforge which has become somewhat flakey of late - we can't do anything about it as that's where the developer hosts the program.
HiFi/MDP is a very minimal program - it works like moode/volumio but doesn't have all the features (it plays music and you can create playlists, that's about it) http://www.ympd.org/ for ore info.
It looks like Ampache needs to have the local player module set up to make it play out of the pi, there's more details here: https://github.com/ampache/ampache/wiki/MPD - I'll reinstall this evening and see if I can get it working.
I don't know why FTP isn't being fast for you, on a clean connection it runs really quick for me.
As for disks I have 2, one formatted FAT32 that's shared using SAMBA from my router and one formatted EXT4 attached to the Pi (the benefit of using EXT4 is it doesn't have to use a 'translation layer' as NTFS/FAT drives do in linux, so it uses less processor)
Kodi is a good app, have a search around for music add ons for it (there are many) and see if there's one that suits you, it took me a while to work out how to get libraries loaded in to it but it's ok once you have that sorted.
pitadavespa
18-11-2015, 18:57
Subsonic: Yes, I realized that. I'll try it later.
HiFi/MDP: that's what I thought. I need something more... "substantial". :)
Ampache: ohh, ok. Thank you for your help.
FTP: this was a clean installation, but something may went wrong. I'll try again.
Thanks, again. ;)
Rothchild
18-11-2015, 19:08
Luis,
What sort of machine are you connecting to your Pi with? If you have 'HiFi' installed and working you can ignore the YMPD element and use any number of other MPD clients to control it with, I quite like GMPC but there are loads to choose from: http://mpd.wikia.com/wiki/Clients
pitadavespa
18-11-2015, 20:26
Luis,
What sort of machine are you connecting to your Pi with? If you have 'HiFi' installed and working you can ignore the YMPD element and use any number of other MPD clients to control it with, I quite like GMPC but there are loads to choose from: http://mpd.wikia.com/wiki/Clients
I'm using my computer (Linux Mint) and smarphone (Android).
BTW, I don't know what happened yesterday.
Today, transfering files through ftp is just fine (between 3 and 6MBps). :)
Rothchild
19-11-2015, 23:19
Mint is an ubuntu / debian derivative so you can install GMPC and / or Ario from the software centre and use them to control MPD and there are also quite a few Android apps you can use too.
Although I would argue it's worth persevering to get Subsonic working, it really is a fine audio player and streamer.
pitadavespa
20-11-2015, 01:52
Mint is an ubuntu / debian derivative so you can install GMPC and / or Ario from the software centre and use them to control MPD and there are also quite a few Android apps you can use too.
Although I would argue it's worth persevering to get Subsonic working, it really is a fine audio player and streamer.
Thanks.
Does it permit localplay?
Rothchild
20-11-2015, 07:35
Yes,
You can set up a number of 'players' in the settings window -
Webplayer (so you can access your music remotely),
Jukebox (local play - turn off all transcodings) and there are also modes that will trigger downloading a playlist file that can be opened by VLC/Foobar and have your music streamed to those separate players.
You can also have multiple versions of all these types of players that trigger different transcoder settings, so you could have a home webplayer that streams HQ audio and an 'out and about' webplayer that downsamples the music stream to save bandwidth.
One thing I really like is that on the android app you have have the music streaming to your phone, but as you walk in through the door you can hit the 'RC' button in the app and it switches to Jukebox mode so the music switches to your speakers (almost) seamlessly.
pitadavespa
20-11-2015, 10:15
Thanks, again.
I already installed it.
I'll give it a try during the weekend.
pitadavespa
24-11-2015, 11:13
Marc,
I tried Subsonic and it is, indeed, a good solution. Worked just fine without any flaws.
I have one doubt: in jukebox player, when using flac files, I had to disable all transcoding, so the player doesn't "convert" them to mp3.
Do I need to do that?
I thought it would never transcode music or video when in jukebox player.
Thanks,
Luis
Rothchild
24-11-2015, 19:30
Glad to hear you got it working Luis.
I'm not sure why there's the option to transcode when you're in Jukebox mode, but as you've found, all you need to do is unselect the transcode settings in that player and it plays them 'straight' - if you want to confirm for yourself that it's working correctly you can log in to your pi with a terminal and run htop, play a file and you'll see ffmpeg running and the various parameters it's using.
Rothchild
03-12-2015, 18:46
Just a quick note to point out that DietPi has just been updated to release 102 with a significant number of new developments, fixes and adaptations unfortunately there are so many fixes in this version it's not available as an update and will require a new image - but of course you can use dietpi-back up to grab your working system and then apply it back to your new installation:
v102
(03/12/15)
Important DietPi Changes:
All DietPi images have been updated to v102 and are required to run the latest version of DietPi. Previous images will no longer update, and are no longer supported.
Passwords | All passwords throughout DietPi are now dietpi (previously raspberry). This includes everything with a password (eg: dietpi-software installations).
DietPi for Odroid C1/XU4 has changed to Debian Jessie | The DietPi images are now based on the excellent Debian Jessie images by Meveric http://forum.odroid.com/viewtopic.php?f=96&t=17542&p=114970#p114970. Why Debian? First, its more streamline and lightweight when compared to Ubuntu. Second, it reduces my coding workload from 3 distros to 2, as Ubuntu has different packages/filepaths/requirments that required additional coding and testing.
New Features:
DietPi-Launcher | Menu system that allows you to run any of the DietPi programs, all from one place.
DietPi-Cron | Menu system that allows you to change the cron start times: #118 (comment)
Software Additions:
DietPi-Software (Odroids C1/XU4) | Kodi is now available for Odroid C1 and XU4.
DietPi-Software (Odroids C1/XU4) | DietPi optimized LXDE desktop is now available. Vastly improved C1 (no longer uses FBturbo driver).
DietPi-Software (Odroids C1/XU4, OPi) | DietPi optimized Weaved installation is now available.
DietPi-Software (Odroids C1/XU4) | DietPi optimized MiniDLNA installation option is now available.
Changes / Improvements / Optimizations:
General | Support for Raspberry PiZero (honestly?, i didnt have to change a thing :) )
General | Removed one of the reboots during first run filesystem expansion. This will speed up the inital setup of your system. Available for all DietPi images v101 or higher.
DietPi-Software | PHP now sets upload_max_filesize and php_max_post_size to 2GB. This will increase the max filesize limit with php uploads (eg: Owncloud). Previously 20~MB.
DietPi-Software | PHP now sets upload_tmp_dir to /var/tmp/php_upload_tmp. This was previously stored on /tmp as ramdisk, which limited php uploads (eg: Owncloud) to half your total RAM, causing possible failed uploads.
DietPi-Software (Jessie) | PHP will also install and optimize APCu along side Opcache (APCu is data store, OPcache is opcode cache). This should vastly improve webserver performance.
DietPi-Software | HAproxy will now install v1.6.2.
DietPi-Software | Deluge-web no longer requires a service restart by the user during 1st run.
DietPi-Software | Enabled Deluged logging with level warning to /var/log/deluged.log and /var/log/deluge-web.log
DietPi-Config > Advanced > Time sync (ntpd) | New options. Allows you to change the update frequency of NTPD time syncs. eg: Daily/Hourly/disabled etc.
DietPi-Config > Performance > Overclocking | Tweaked the RPi 1/2 overclocking settings to improve stability. These are settings I personally use across all my RPi devices during testing, and, should be stable for all.
DietPi-Config > Advanced > Swapfile size | When the user changes the swapfile size, the new swapfile and its size will now be generated at the same time. Previously this was completed during boot.
DietPi-Config > Advanced > Swapfile size | Can now also be disabled.
DietPi-Config (OPi) | You can now update the Kernel and Firmware for your OrangePi. This will run Loboris kernel update script: https://github.com/loboris/OrangePi-BuildLinux/blob/master/update_kernel.sh
General | /etc/apt/sources.list is now unified across all DietPi Jessie images (excluding Raspbian), using the global Debian mirror: http://ftp.debian.org/debian
General | All firmware and kernel have been updated to latest.
Bug fixes:
DietPi-Update | Some users were experiencing wget failures due to SSL/cert issue on GitHub, or local network setup. This was causing the 1st run update and installation to fail. The script has been updated to use curl which does not fail. #125
Kernel Modules (OPi) | Resolved issues with invisible modules by updating the kernel / firmware to latest (provided by Loboris). #115
General (Jessie) | Resolved an issue where SystemD would throw warnings on /dev/tty1 regarding duplicate fstab entries. USB mounts are now disabled by default in fstab on new images. DietPi will enable one of the mounts as required during "1st run USB drive" setup.
DietPi-Software (Odroid C1) | Resolved an issue with Kodi launching as black screen.
DietPi-Software | Resolved an issue with DietPi-Cam not starting during boot. Many thanks to Rich T for his assistance with debugging: http://fuzon.co.uk/phpbb/viewtopic.php?f=11&t=218#p842
DietPi-Ramlog | Fix for mongodb log files, thanks to Olmo: https://twitter.com/otmezger/status/670004115561299968
Rothchild
11-12-2015, 08:42
The new version of DietPi has a whole raft of fixes, tweaks and new feature, perhaps most notably integration with the new 'LetsEncrypt' service allowing you to add properly signed SSL certificates to your server, great for security if you're streaming your music over the net from your pi box (as I am)
Also fixes for the squeezebox server and more fine grained control over processor threading and other technical features:
v103
(09/12/15)
New Features:
DietPi-Affinity | Allows you to set CPU affinity for most processes. This allows you to specify which CPU cores the program will use. Also applied automatically during boot (along side DietPi-Nice). Info: http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5&p=1064#p1064.
DietPi-LetsEncrypt | Frontend for Lets Encrypt and intergration into DietPi systems. Supports Apache2 webserver (LAMP / LASP) only. Info: http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5&p=1064#p1062.
Software Additions:
DietPi-Software | Added DietPi optimized installation for Lets Encrypt. This allows you to easily obtain and install a free SSL certificate for your webserver. Info: http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5&p=1064#p1062. Many thanks to thechildofroth for his assistance with testing: #128
DietPi-Software (RPi) | Added DietPi optimized installation for Wiring Pi (v2.31). Alternate GPIO libary based on C.
Changes / Improvements / Optimizations:
DietPi-Ramlog | Will now preserve log file ownerships.
DietPi-Config > Networking | You can now specify static DNS servers.
DietPi-Nice | Will now show you what is being applied, and, if successful.
DietPi-Software | Reduced php-apc and php-apcu cache sizes slightly. Applied lower limit of 10mb.
DietPi-Software | Reduced the amount of total packages installed with Full logging mode (logrotate). Many thanks to Gordon Williams for spotting this: http://fuzon.co.uk/phpbb/viewtopic.php?f=11&t=256#p1073
DietPi-Software (RPi) | Moved all RPi hardware project releated items to DietPi Optimized software. Under RPi Hardware Projects.
Bug fixes:
LMS/Squeezebox server | Resolved issue with the program unable to start at boot. DietPi-Software will now install v7.9. Existing installations of LMS/Squeezebox will require a reinstall with dietpi-uninstall and dietpi-software, to fix their installation.
DietPi-Software | Resolved an issue with apt-get 100 errors during installation due to incomplete apt-cache. DietPi-Software will now run a simulated apt-get install, before running the installations. If this fails, it will attempt to clean and update the apt-cache. Many thanks to Zombievirus for the report and assistance testing: #132
DietPi-Software | Resolved an issue with Proftpd giving errors: /var/log/wtmp: No such file or directory. Many thanks for Gordon Williams for spotting this one: http://fuzon.co.uk/phpbb/viewtopic.php?f=11&t=256#p1073
General | Resolved an issue where optimizations for the RPi v2 would be made based on 2 cores. This was due to an incorrect $(nproc) value which reported 2 processor cores on the RPi. $(nproc --all) is now used and returns the correct value.
General | Resolved an issue where /etc/resolv.conf (dns server) was not updating. This was due to a missing package (resolvconf) and will now be installed on all DietPi systems. Resolvconf will automatically update DHCP dns servers. For Static Ips, dns-nameservers must now be set in /etc/network/interfaces.
General | Resolved issue where ntpd drift file wouldnt update. Many thanks to Gordon
DietPi-Config > Networking | As dns-nameservers must be set for static ips, DietPi-Config will enable/disable dns-nameservers automatically in /etc/network/interfaces when applying network changes.
Rothchild
18-12-2015, 17:06
DietPi is about to become easier than ever before to install and setup.
In beta at the moment is an unattended install solution, which will mean all you need to do is DL the image, burn it sd card and edit one file (/boot/dietpi.txt) as well as being able to set your wireless settings etc (which you've been able to do for a while - so the system comes straight up and you don't need to patch it in to your router etc). There is now the option to pre-select your software choices in this file so DP will boot, resize itself on to the sd card, run any updates, install the software you've selected and set it all running.
For the full list and details of apps and utilities available check: http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5
Rothchild
30-12-2015, 09:12
We're now at version 104 with some useful fixes for Squeezebox users and some nice features to control process priority and threading (so you can assign applications to their own core on a pi2).
More info here: http://fuzon.co.uk/phpbb/viewtopic.php?f=10&t=281
Rothchild
15-01-2016, 16:50
Just to note that V106 is now up and running with Shareport Sync support, so you can 'throw' your pi audio from any Airplay enabled device (or any Windows or Mac machine with 'Airfoil' installed: https://www.rogueamoeba.com/airfoil/)
This is a nice solution to having Spotify playing out of your Pi as you can run it on your Windows box and simply Airplay it through the Pi.
DietPi images and instructions available for download here: http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=9#p9
Rothchild
31-01-2016, 19:22
I guess it's of relatively little interest on a board like this but v108 of DietPi now features an optimised installer for BruteFIR, a realtime room analyser and DRC EQ.
http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5&p=57#p57
There's also a new player (Squeezelite) for LMS / Squeezebox installs.
Images here: http://dietpi.com/
pitadavespa
03-02-2016, 12:41
I guess it's of relatively little interest on a board like this but v108 of DietPi now features an optimised installer for BruteFIR, a realtime room analyser and DRC EQ.
http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5&p=57#p57
There's also a new player (Squeezelite) for LMS / Squeezebox installs.
Images here: http://dietpi.com/
That's really cool.
A microphone is needed, right?
Rothchild
04-02-2016, 14:01
That's really cool.
A microphone is needed, right?
Yes (and a suitable pre-amp for the mic) but it doesn't need to be anything fancy, if you have access to a basic USB sound card / interface it should be plenty.
Powered by vBulletin® Version 4.2.3 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.