2014-01-10, 12:25
Just a thought, I had to edit the autostart.sh script in OpenElec to added in a line that would mount my file servers Music folder to the local /storage/music folder on the HTPC. So I could then in AS settings change my LOCAL ARTIST FOLDER path from SMB://WHS/MUSIC to /STORAGE/MUSIC. Doing this enables Local fanart to be used as you know.
This is the line: mount -t cifs -o username=xxxx,password=xxxx,rw //192.168.1.100/music /storage/music; \
However as my WHS (HP Microserver) hibernates and takes a long time to wake up, I put in a sleep for 2 mins 30 secs. I wonder if this setup is anyhow related to AS not being able to remove the .tbn files from the artists folders on the file server? Although AS is creating the JPG files OK on the file server so maybe not, I'm not sure.
Here is the entire startup script:
This is the line: mount -t cifs -o username=xxxx,password=xxxx,rw //192.168.1.100/music /storage/music; \
However as my WHS (HP Microserver) hibernates and takes a long time to wake up, I put in a sleep for 2 mins 30 secs. I wonder if this setup is anyhow related to AS not being able to remove the .tbn files from the artists folders on the file server? Although AS is creating the JPG files OK on the file server so maybe not, I'm not sure.
Here is the entire startup script:
Code:
#!/bin/sh
# Wake-On-LAN for WHS
python /storage/.config/WakeOnLan.py '3D:B9:2B:0C:21:43' &
# Disable eventlircd for MCE remote
killall eventlircd
# Mount Music folder for Artist SlideShow Setting
# Mount Music Videos folder for Youtube download path
(sleep 150; \
mount -t cifs -o username=xxxx,password=xxxx,rw //192.168.1.100/music /storage/music; \
mount -t cifs -o username=xxxx,password=xxxx,rw "//192.168.1.100/music videos" "/storage/music videos" \
)&