You are here: Home » Reply

Reply To: 20051117 and transcoding…

#3839

CCRDude
Participant

Ok, here’s another partly solution for people with Musepack problems. Some older nightly (maybe badly configured by myself) did add the musepack songs with an empty codectype field. This resulted in empty tags (length of files is displayed as “continously”, title is filename) that weren’t updated even with a valid compile later on. To fix those, do a:

/etc/init.d/mt-daapd stop
sqlite /var/cache/mt-daapd/songs.db
delete from songs where fname like ‘%.mpc’;
.exit
/etc/init.d/mt-daapd start

Running mt-daapd with -d9 now tells me:
2005-11-18 15:18:20: Executing: SELECT * FROM songs WHERE id=12476
2005-11-18 15:18:20: Thread 1: Length of file (remaining) is 8285245
2005-11-18 15:18:20: Updating Content-Type from application/x-dmap-tagged to audio/mpc
2005-11-18 15:18:20: Added *Content-Length=8285245*
2005-11-18 15:18:20: Added *Connection=Close*
2005-11-18 15:18:20: Emitting reponse header Connection: Close
2005-11-18 15:18:20: Emitting reponse header Content-Length: 8285245
2005-11-18 15:18:20: Emitting reponse header Expires: -1
2005-11-18 15:18:20: Emitting reponse header Cache-Control: no-cache
2005-11-18 15:18:20: Emitting reponse header Content-Type: audio/mpc
2005-11-18 15:18:20: Emitting reponse header DAAP-Server: mt-daapd/cvs-20051117
2005-11-18 15:18:20: Emitting reponse header Accept-Ranges: bytes
2005-11-18 15:18:20: Emitting reponse header Date: Fri, 18 Nov 2005 14:18:20 GMT
2005-11-18 15:18:20: Entering config_set_status
2005-11-18 15:18:20: Exiting config_set_status
2005-11-18 15:18:20: Session 0: Streaming file ‘Przedtem.mpc’ to 192.168.13.12 (offset 0)
2005-11-18 15:18:20: Finished streaming file to remote: 208896 bytes
2005-11-18 15:18:20: Entering config_set_status
2005-11-18 15:18:20: Exiting config_set_status
2005-11-18 15:18:20: Thread 1: Terminating
2005-11-18 15:18:20: Thread 1: Freeing request headers
2005-11-18 15:18:20: Thread 1: Freeing response headers
2005-11-18 15:18:20: Thread 1: Freeing request vars
2005-11-18 15:18:20: Thread 1: Closing fd
2

I thought I maybe had to add it to ssc_codectypes (even though those are handled by the ssc_prog, which seems to not be fit to handle mpc and as I understand mpc handling was from the inside), but that’s not much different.

2005-11-18 15:19:35: Session 0: Streaming file ‘Zgon.mpc’ to 192.168.13.12 (offset 0)
2005-11-18 15:19:35: Finished streaming converted file to remote
2005-11-18 15:19:35: Got CLD signal. Reaping

Could someone enlighten me on what I have to do to get Musepack playback to work? Add it to ssc_codectypes or not? Everything compiles fine with –enable-musepack, which would not do if taglib wasn’t installed. If it’s all integrated, I would guess that if some component needed was not found, I would have been told during configure or make?