![]() I've been away from working with FreeBSD for about 10 years and this brought me right back.īit of an update so that anyone else struggling can see.įinally managed to get this working with the following edits with all credit to NorwegianRockCat. Still thanks a lot for the script, I doubt I would have gotten this far on my own. Though it requires one to be a bit savy with scripts. I could upload it here so others could use it. I modified the original script to not delete the that's downloaded and instead put the Scan.so there so its available for later. Even better, your squeezeboxes should be playing some music from your FreeNAS! Restart the lms service and retriggger the scan and you should see your media library filling up. Whew! There's a reason djoole compiled that file for us. Copy Scan.so into /usr/local/lms/CPAN/arch/5.18/amd64-freebsd-thread-multi/auto/Media/Scan (you may need to create that directory) and things should work. After some time, the Scan.so will show up in the build directory buried somewhere (in several locations, but I just used find to grab it). At a quick glance, I couldn't find a way to only build the AudioScan module, so do a quick pkg install for gmake and libgd and run the buildme.sh script. Change to the "CPAN" directory and there's a a build script (buildme.sh) for building all of these modules (the link I gave is for the 7.8-branch, which is what djoole's script uses). You can build these yourself by cloning the repo from github. The Scan.so is for the AudioScan module that is part of the "vendor modules" for LMS. Turns out the Scan.so that was provided djoole is compiled for Perl 5.16 (which makes sense as that was what the script was originally targetted against) it won't work with 5.18 (wrong Magic number or something). Where's the second mismatch? LMS will run, but its scanning willl fall down and you'll have an empty (or almost empty) library, but it will happily play any file if you walk through its Music Folder. This gets rid of the one of the module mismatches. No, problem right? run "pkg update" to update Perl. So, you have module mismatch and LMS won't start. However, the version of Perl that is installed in the jail is 5.16. Using the script from djoole gets you almost all the way, but the version of the modules that are installed via pkg on 9.3-stable are for Perl 5.18 (not 5.16). So, in the hopes of helping out others, I thought I would post my experience to save a couple hours for someone (I hope). There's a couple of gotchas that I don't think have been highlighted yet. ![]() I tried out things with FreeNAS 9.3-stable and got things working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |