Hi all
I'm having problems with scanning my library since quite a while.
Currently LMS won't scan at all, which is new. Before that it would
forget the entire DB when I restarted the machine. Oh, and when I
restart it I need to enter all the information (e-mail, pw for
mysqueezebox, music folder, playlists folder...) every time.
Here is some info:
A harddisk with the system and music is plugged into the Goflex Net.
Music is in /data, which is set as the media folder in basic settings,
and I can browse throught the subfolders from the LMS Main Menu / Music
Folders. New music is copied from the Mac to a Time Capsule and the
following script syncs the Time Capsule with the Goflex and should set
permissions in the end (I copy-pasted from various sources since my
expertise os on a connect-the-dots-level):
Code:
--------------------
#!/bin/bash
if [ "$(whoami)" != "root" ];
then
echo "you are not root";
exit;
fi
echo "mounting time capsule... and waiting 15 sec for her to settle";
mount -t smbfs -o
username=squeezeplug,password=AbleArtist96,iocharset=utf8,codepage=unicode,unicode
//192.168.1.1/Data/Musik /timecapsule
sleep 15s;
echo "starting rsync";
rsync -rtuv --delete /timecapsule/ /data/;
echo "syncronization complete, waiting 10seconds before unmounting time
capsule";
sleep 10s;
umount /timecapsule;
echo "timecapsule unmounted.";
echo "fixing file and folder permissions..";
# Load up your mediatomb directories...
MediaTombDirectories[0]="/data"
#MediaTombDirectories[1]="/home/me/Music"
# add more if needbe
# MediaTombDirectories[2]="/home/me/files"
# Setup find correctly.
export IFS=$'\n'
# Loop through our array.
for x in ${MediaTombDirectories[@]}
do
# Find all directories & subdirectories
for i in $(find $x -type d)
do
# Fix Permissions, entering -v after "chmod" makest tis verbose, entering -c
after "chmod" will send a mail. All removed below.
chmod 775 $i
#chown me:user $i
done
# Find all Files
for i in $(find $x -type f)
do
# Fix Permissions
chmod 664 $i
#chown me:user $i
done
done
echo "permissions fixed, exiting. Enjoy the music.";
exit;
--------------------
Basic info:
Code:
--------------------
Logitech Media Server Version: 7.9.0 - 1427377805 @ Sat Mar 28 04:05:14 UTC
2015
Hostname: squeezeplug
Server IP Address: 192.168.1.11
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: armv5tel-linux
Perl Version: 5.10.1 - arm-linux-gnueabi-thread-multi
Audio::Scan: 0.95
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 1
--------------------
Folders
Code:
--------------------
Cache Folder
/var/lib/squeezeboxserver/cache
Preferences Folder
/var/lib/squeezeboxserver/prefs
Plugin Folders
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins, /usr/sbin/Plugins,
/usr/share/squeezeboxserver/Plugins
Helper Applications Folder
/usr/share/squeezeboxserver/Bin/arm-linux, /usr/share/squeezeboxserver/Bin,
/usr/local/sbin, /usr/local/bin, /sbin, /bin, /usr/sbin, /usr/bin, /usr/bin,
/usr/local/bin, /usr/sbin,
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/DSDPlayer/Bin
--------------------
Last scanner log
Code:
--------------------
[16-01-16 21:15:43.7340] main::main (204) Starting Logitech Media Server
scanner (v7.9.0, 1427377805, Sat Mar 28 04:05:14 UTC 2015) perl 5.010001
[16-01-16 21:15:43.9238] Slim::Utils::OS::Debian::dirsFor (94) Warning:
dirsFor: Didn't find a match request: [videos]
[16-01-16 21:15:43.9261] Slim::Utils::OS::Debian::dirsFor (94) Warning:
dirsFor: Didn't find a match request: [pictures]
[16-01-16 21:15:58.7686] Slim::Music::Import::runImporter (511) Starting
Slim::Media::MediaFolderScan scan
[16-01-16 21:15:58.7966] Slim::Music::Import::endImporter (643) Completed
Slim::Media::MediaFolderScan Scan in 0 seconds.
[16-01-16 21:15:58.8363] Slim::Music::Artwork::precacheAllArtwork (615)
Starting precacheArtwork for 0 albums
[16-01-16 21:15:58.8388] Slim::Music::Import::endImporter (643) Completed
precacheArtwork Scan in 0 seconds.
[16-01-16 21:15:58.8641] Slim::Music::Import::runScanPostProcessing (435)
Starting Database optimization.
[16-01-16 21:16:02.6671] Slim::Music::Import::endImporter (643) Completed
dbOptimize Scan in 3 seconds.
--------------------
I used to use Erland Isaksson's custom scan, custom browse and licence
manager plugin, but am not using them currently.
I would be really glad for pointers where I could start debugging.
Cheers
ElEsido
------------------------------------------------------------------------
ElEsido's Profile: http://forums.slimdevices.com/member.php?userid=50767
View this thread: http://forums.slimdevices.com/showthread.php?t=105030
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix