Reply To: Zero track length permissions issue

#7135
rpedde
Participant

@fishfishfish wrote:

I’ve been running mt-daapd on a Debian-based Raq server for the past year or more and it’s worked excellently.

I’ve recently installed a script which downloads podcast mp3s. These are picked up correctly by mt-daapd but have a zero track length in iTunes and won’t play. I’ve added a function to my shellscript to chmod the files to 777 so they can be read, written and executed, but they still won’t play.

This is ls -la for one of the tracks that won’t play:

-rwxrwxrwx 1 matt matt 1945600 2006-11-04 01:35 podcast.mp3

This is one of the tracks that will play
-rwxrwxrwx 1 matt matt 7568390 2005-10-13 04:14 workingpodcast.mp3

Any ideas what I need to do in order to get them to play from iTunes, please? The files work correctly when they’re download to my Mac, so I’m fairly sure it’s something to do with permissions/ownership…

Many thanks,
Matt

If you do a full scan from the web interface, do they work? Are those files nfs mounted, or are they on the same system as the server?

One “trick” that might be worthwhile (assuming the full scan picks them up), would be to dump the files with a temporary name (podcast.mp3.part) and then rename them at the end of the script.