I invested a lot of time in ripping my CD collection so it would be a shame if I lost my music files due to a hard disk crash. Creating a backup of the music collection To enable the podcasts plugin go to Settings and then select the Podcasts tab. To find a certain feed look for the rss feed of your favorite podcast and copy the link into ‘add a new feed’ in the podcast tab of the Settings menu mentioned above (e.g. In this tab new feeds can be entered that will immediatly be available on the Squeezebox players. The Podcasts plugin is now active and can be entered through a new tab in the Settings menu. Now enable the Podcasts (v2.0) plugin and reboot the Raspberry Pi for the changes to take effect. To do this open the web interface in your browser and type: (in my case 192.168.178.69:9000)Ĭhoose Settings at the bottom right of the web browser and then choose the Plugins tab. Next to add podcasts to the list a plugin needs to be installed. First the Podcasts app must be added to myApps on the Squeezebox player or players. Podcasts can be easily added to the Logitech Media Server and there is no need to subscribe to a service. This command sets the ownership of all files on the USB hard disk to pi instead of root enabling me to use FileZilla and gFTP to copy files from a remote PC to the Raspberry Pi. Or in my specific case sudo umount ~/media/usb-driveĪnd then mount sudo mount /dev/sda1 ~/media/usb-drive -o uid=pi -o gid=pi To mount the hard disk use the following general command is used: mount device mount-point -o uid=foo -o gid=foo To solve this problem I had to first unmount and mount the USB hard disk. At this point it was impossible to change ownership and permissions with chmod and chown from the media server. The reason is a bit technical and maybe confusing but I had used the Windows FAT filesystem for the USB hard disk and when I mounted it on my Linux laptop (Puppy Linux distribution), ownership of all files was changed by Puppy Linux to root. In the past I couldn’t set the ownership for the USB hard disk on the Raspberry Pi. Read this if you (like me) run into problems with file ownership on your Raspberry Pi. Later I also used the scp command (Linux, OSX) in the terminal and simply copy the music files on my PC to the music folder on my Raspberry Pi powered LMS. They have basically the same functionality but gFTP is not available for Windows while FileZilla is available for GNU/Linux, OSX and Windows. The software that I’m using is either FileZilla or gFTP. FTP is a network protocol to transfer files between a client and a server. I decided to use FTP to transfer files over the network to the Raspberry Pi. For adding new albums this proved to be be a clumsy method and I quickly found myself looking for an alternative. At first I unmounted the USB hard disk from the LMS, removed it and connected it to the laptop and copied the albums. Now about moving the encoded files to the LMS. A simple example is that album art is added to the file. The tagger completes the metadata on the music files which is very convenient when uploading the files to the LMS. It can also tag the files using CDDB but I use MusicBrainz Picard because does a much better job when it comes to tagging (in addition MusicBrainz can organize your digital music library). Asunder has a simple interface but it has many options can encode to many different formats. All the ripping is done using Asunder, a low resource ripper for Linux. When I buy a new CD I want to add it to my LMS. Adding, changing and deleting music files All software that I used for this project is free and open source. Finally I provide a tip to debug problems with the Logitech Media Server. In this blogpost I’ll explain how I add and remove music files from the LMS and create a simple backup of your music files. In the meantime however I do need to maintain the LMS. I guess that eventually I have to replace the USB-HDD that I connected to the Raspberry Pi with a better one. What started as an experiment now has become a device I’m starting to rely on. I’m using my Raspberry Pi based Logitech Media Server a couple of months and I’ve grown very fond of it. I wrote earlier about the Logitech Media Server (LMS), open source software that I’ve used to turn a Raspberry Pi into a music server for my Squeezebox devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |