![]() |
|
Minimserver not seeing one of my files - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: Support (/forumdisplay.php?fid=4) +--- Thread: Minimserver not seeing one of my files (/showthread.php?tid=1060) Pages: 1 2 |
Minimserver not seeing one of my files - NeilT - 02-12-2013 15:23 As you know, I'm running Minimserver on a Rapbery Pi, and you've helped me with a couple of problems. This particular problem has me stumped so I'm asking for help. I have a directory on the hard disc that stores my music, called Recordings and currently holding two live recordings (flac files) I made of a local group. Both have tags for Artist, Title, Album, and Track No. But only one is visible in BubblePnP. The one not displayed is a large file, some 45 minutes in length. I have made the disc visible to the Sonos controller, and both files display correctly in that. I am left now with the thought that it's something to do with the file size. Does anyone have an idea? Neil RE: Minimserver not seeing one of my files - simoncn - 02-12-2013 17:26 (02-12-2013 15:23)NeilT Wrote: As you know, I'm running Minimserver on a Rapbery Pi, and you've helped me with a couple of problems. This particular problem has me stumped so I'm asking for help. Have you checked the MinimServer log? If MinimServer has found an error while reading the file, it will not be made visible in the library. RE: Minimserver not seeing one of my files - NeilT - 02-12-2013 17:58 (02-12-2013 17:26)simoncn Wrote: Have you checked the MinimServer log? If MinimServer has found an error while reading the file, it will not be made visible in the library. I just restarted the server with Trace level logging and this is the section relating to the directory Recordings: Scanning directory Recordings 16:51:19.001 main: provisionally retaining cache entry for 'Gli Amici Della Musica/' 16:51:19.002 main: no cache entry for folder '' 16:51:19.005 main: finished scanning metadata in Recordings 16:51:19.006 main: parentFolders[699] = 698 Scanning directory Gli Amici Della Musica 16:51:19.010 main: found file When Icicles Hang - John Rutter.flac 16:51:19.012 main: using cache entry for Gli Amici Della Musica/When Icicles Hang - John Rutter.flac 16:51:19.013 main: scanFiles: dirAlbum Live 16:51:19.015 main: album=Live albumArtist=Gli Amici Della Musica artistType=4 16:51:19.015 main: finished scanning metadata in Gli Amici Della Musica 16:51:19.017 main: finished scanning directory Gli Amici Della Musica 16:51:19.017 main: siblingFolders[699] = 700 16:51:19.017 main: siblingFolders[699] = 0 16:51:19.018 main: childFolders[698] = 699 16:51:19.018 main: finished scanning directory Recordings 16:51:19.019 main: Deleting output cache file Recordings-2.mcache 16:51:19.019 main: Renaming output cache file Recordings-temp.mcache to Recordings-2.mcache It should have found the second file, Requiem op 9 - Maurice Duruflé.flac, but seems to have completely missed it! RE: Minimserver not seeing one of my files - simoncn - 02-12-2013 18:09 (02-12-2013 17:58)NeilT Wrote: It should have found the second file, Requiem op 9 - Maurice Duruflé.flac, but seems to have completely missed it! This is likely to be caused by the accented character in the filename. If you have an incorrect charset setting, MinimServer is unable to see files with accented characters in their filenames. You can check the charset setting by looking at the start of the MinimServer log output and/or by typing the 'locale' comand at an SSH command prompt. What output do you get from 'locale'? RE: Minimserver not seeing one of my files - NeilT - 02-12-2013 18:25 (02-12-2013 18:09)simoncn Wrote: have an incorrect charset setting, MinimServer is unable to see files with accented characters in their filenames. You can check the charset setting by looking at the start of the MinimServer log output and/or by typing the 'locale' comand at an SSH command prompt. What output do you get from 'locale'? I was thinking that might be the problem. You get a bit used to accented characters just working on Windows boxes. The locale command returns: pi@MusicServer ~ $ locale LANG=en_GB.UTF-8 LANGUAGE= LC_CTYPE="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT="en_GB.UTF-8" LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL= As part of tidying up the Pi, I followed some instructions that included removing unused locales and I'd forgotten about doing that! I guess I need to add French back in
RE: Minimserver not seeing one of my files - simoncn - 02-12-2013 19:04 (02-12-2013 18:25)NeilT Wrote: I was thinking that might be the problem. You get a bit used to accented characters just working on Windows boxes. The locale command returns: This looks OK. The important thing to look for here is UTF-8. What do you see for the charset in the MinimServer log output? RE: Minimserver not seeing one of my files - NeilT - 02-12-2013 19:29 (02-12-2013 19:04)simoncn Wrote: This looks OK. The important thing to look for here is UTF-8. What do you see for the charset in the MinimServer log output? Aha! Platform default charset is US-ASCII Now, do I Google the correction or do I wait for you to tell me (hopefully)? I really should have kept up with the Linux stuff. RE: Minimserver not seeing one of my files - simoncn - 02-12-2013 20:25 (02-12-2013 19:29)NeilT Wrote: Aha! How are you starting the MinimServer process? If I start it from the SSH command prompt, I get the correct UTF-8 charset. RE: Minimserver not seeing one of my files - NeilT - 02-12-2013 22:11 (02-12-2013 20:25)simoncn Wrote: How are you starting the MinimServer process? If I start it from the SSH command prompt, I get the correct UTF-8 charset. I have this in /etc/rc.local: # start minimserver-flac /home/pi/minimserver-flac/autostart.sh # start minimserver-mp3 /home/pi/minimserver-mp3/autostart.sh for the two instances I run. I commented those lines out and ran manually as you mentioned, and I get the UTF-8 charset. The automatic start means the process is owned by root, which must explain the difference. So I need a better start up process. RE: Minimserver not seeing one of my files - NeilT - 02-12-2013 22:34 Wahey! We have lift off. Bit of fun working out the update-rc.d stuff, but got there. Both instances automatically running with UTF-8 charset. Thanks Simon |