Remove old library

  • Hi

    I'm setting up an old Raspberry Pi for a friend (he is in a rental while his new house is being built so we don't want to go too far yet) and decided to just copy my SD card from my own Raspberry Pi. However I have a NAS and I am just trying to use a 30G usb stick to give him something to watch. I can't get it to stop trying to find the NAS when updating the library and I can't get the library to update from the USB stick even though I can play the files from video-files-etc (and by etc I mean the rest of the link). Any advice would be greatly appreciated.

  • I may be totally misunderstanding what you want to do but it sounds as though you haven't removed the NAS from the list of sources nor added the USB stick to it - Settings|Media|Library|Manage Sources|Videos

    If your friend isn't being connected to the internet then you'll need to transfer thumbnails & nfo files as well and specify the source to use local information only

  • If the location of media changed the existing DB content is invalid and you will need to remove the NAS sources, add the USB drive as a new source, and rescrape; which will re-download all the thumbs and info off the internet again. Or you need to run a tool against the existing DB files to update/correct the invalid file paths (from NAS to USB) .. but if the USB only contains a subset of the content on the NAS device that isn't going to truly 'fix' anything either. TL/DR: In 99/100 cases cloning a current install "to save time and effort" causes confusion and results in more effort as you start out with a half-broken setup. Start out with a clean install, add the USB drive as a source, and let is scrape. Unless you're on dial-up 28.8k internet it'll be done fairly quickly and everything will be correctly referenced.

  • Ok so I bit the bullet and started fresh but was still struggling to use the USB for the library. That was till the penny finally dropped, I was looking for how to address the memory stick and when I went in under files, I could see it but not when I was trying to add it as a source. Like I say, The penny finally dropped and I realizes that the USB was a folder on the root files, I went to /var then /media and there it was! all now working as I wanted.

    Thanks guys for the assistance.