FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Can’t play FLAC or OGG transcode but can play MP3
- This topic has 38 replies, 8 voices, and was last updated 15 years, 5 months ago by stretch.
-
AuthorPosts
-
21/11/2007 at 6:05 PM #14436sonichouseParticipant
Not sure, but if I try to touch the file listed I get
touch: cannot touch `New Order - (The Best Of)/(01) New Order - True Faith '94.flac': No such file or directory
Must be a problem with escaping ?
Can you do a
ls -Q
on that directory
21/11/2007 at 7:35 PM #14437AnonymousInactive-Q didn’t work on the NLSU2, so I had to run ls -l to list them out.
# ls -1
(01) New Order – True Faith ’94.flac
(02) New Order – Bizarre Love Triangle ’94.flac
(03) New Order – 1963 ’94.flac
(04) New Order – Regret.flac
(05) New Order – Fine Time.flac
(06) New Order – The Perfect Kiss.flac
(07) New Order – Shell Shock.flac
(08) New Order – Thieves Like Us.flac
(09) New Order – Vanishing Point.flac
(10) New Order – Run 2.flac
(11) New Order – Round & Round ’94.flac
(12) New Order – World (Price of Love).flac
(13) New Order – Ruined In a Day.flac
(14) New Order – Touched By The Hand of God.flac
(15) New Order – Blue Monday ’88.flac
(16) New Order – World In Motion.flacBut I’ve done an ls -Q when it is mounted through Ubuntu if that’s any help
“(01) New Order – True Faith ’94.flac”
“(02) New Order – Bizarre Love Triangle ’94.flac”
“(03) New Order – 1963 ’94.flac”
“(04) New Order – Regret.flac”
“(05) New Order – Fine Time.flac”
“(06) New Order – The Perfect Kiss.flac”
“(07) New Order – Shell Shock.flac”
“(08) New Order – Thieves Like Us.flac”
“(09) New Order – Vanishing Point.flac”
“(10) New Order – Run 2.flac”
“(11) New Order – Round & Round ’94.flac”
“(12) New Order – World (Price of Love).flac”
“(13) New Order – Ruined In a Day.flac”
“(14) New Order – Touched By The Hand of God.flac”
“(15) New Order – Blue Monday ’88.flac”
“(16) New Order – World In Motion.flac”21/11/2007 at 7:53 PM #14438sonichouseParticipantCreated the directory/file on my slug running 1696 I get
2007-11-21 21:24:51 (00153404): Session 0: Streaming file '(01) New Order - True Faith '94.flac' to 192.168.100.15 (offset 0)
2007-11-21 21:24:51 (00153404): Transcoding /share/hdd/data/public/mp3/test/New Order - (The Best Of)/(01) New Order - True Faith '94.flac with ssc-script/svn-1696
2007-11-21 21:24:51 (00153404): Executing /opt/sbin/mt-daapd-ssc.sh "/share/hdd/data/public/mp3/test/New Order - "'('"The Best Of"')
'"/"'('"01"')'" New Order - True Faith '94.flac" 0 3.684 "flac"
2007-11-21 21:24:51 (00153404): Updating Content-Type from application/x-dmap-tagged to audio/wav
2007-11-21 21:24:51 (00153404): Updating Connection from close to Close
2007-11-21 21:24:51 (00153404): Emitting reponse header Expires: -1
2007-11-21 21:24:51 (00153404): Emitting reponse header Cache-Control: no-cache
2007-11-21 21:24:51 (00153404): Emitting reponse header DAAP-Server: firefly/svn-1696
2007-11-21 21:24:51 (00153404): Emitting reponse header Accept-Ranges: bytes
2007-11-21 21:24:51 (00153404): Emitting reponse header Content-Language: en_us
2007-11-21 21:24:51 (00153404): Emitting reponse header Content-Type: audio/wav
2007-11-21 21:24:51 (00153404): Emitting reponse header Server: mt-daapd/svn-1696
2007-11-21 21:24:51 (00153404): Emitting reponse header Connection: Close
2007-11-21 21:24:51 (00153404): Emitting reponse header Date: Wed, 21 Nov 2007 21:24:51 GMT
2007-11-21 21:24:53 (00153404): Entering config_set_status
2007-11-21 21:24:53 (00153404): Exiting config_set_status
2007-11-21 21:24:53 (00153404): Executing: update songs set play_count=play_count + 1, time_played=1195680293 where id=3333
2007-11-21 21:24:53 (00153404): Rows: 1And it worked 😕
I have flac 1.2.1 installed.
21/11/2007 at 10:55 PM #14439AnonymousInactiveThanks for the help
Looking at your output the differences I can spot areUpdating Content-Type from application/x-dmap-tagged to audio/wav
and the extra lines
2007-11-21 21:24:51 (00153404): Emitting reponse header Expires: -1
2007-11-21 21:24:51 (00153404): Emitting reponse header Cache-Control: no-cache
2007-11-21 21:24:51 (00153404): Emitting reponse header DAAP-Server: firefly/svn-1696
2007-11-21 21:24:51 (00153404): Emitting reponse header Accept-Ranges: bytesafter the updating connection from close to Close.
No idea what this means though.
Not sure what version of flac I’m using but will try and find out.21/11/2007 at 11:46 PM #14440sonichouseParticipant@Eddy5 wrote:
Thanks for the help
….
Not sure what version of flac I’m using but will try and find out.No problem, I just did flac -v to get the version installed.
22/11/2007 at 6:59 AM #14441AnonymousInactiveHmmm, telneted into the NLSU2 when I do flac -v from the opt/bin directory it shows
flac: No such file or directory
Which seems to be the result for all other files in that folder, apart from bash.
22/11/2007 at 10:31 PM #14442AnonymousInactiveOh wait
/opt/sbin/mt-daapd-ssc.sh “/disk1/UserAccess/FLACs/BT – Ima/(02) BT – Quark.flac” > “/disk1/UserAccess/FLACs/test.wav”
does work, well sort of. I get a wav file out, but get wavstreamer: read failed error.
Looking at the wav properties in Ubuntu it’s shown as a audio/x-wav22/11/2007 at 10:42 PM #14443sonichouseParticipantDaft question I know, but is /opt/bin in your PATH for that shell ?
22/11/2007 at 11:02 PM #14444AnonymousInactive$PATH
/sbin:/bin:/usr/sbin:/usr/bin: No such file or directoryOh and the wav plays directly fine in Windows/Ubuntu
22/11/2007 at 11:03 PM #14445sonichouseParticipant@Eddy5 wrote:
I get a wav file out, but get wavstreamer: read failed error.
Looks like you need to specify the length when testing e.g.
/opt/sbin/mt-daapd-ssc.sh “/share/hdd/data/public/mp3/test/New Order – (The Best Of)/(01) New Order – True Faith ’94.flac” 0 3 >test.wav
This created a wav file.
If I leave out the final param I get the read error. -
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.