Bugzilla – Bug 4901
Problem with shorten shn playback on Mac OSX on Intel
Last modified: 2012-02-27 17:33:35 UTC
I am having a problem with shorten .shn file playback on Mac OSX 10.4.8 on Intel. I have two Slimserver machines, both running 6.3.1. The main server is a G4 tower running OSX 10.3.9. That one's fine, it plays shn files no problem. I have an Intel core2duo 20" iMac, OSX 10.4.8. It will not play shn files. I have installed the shorten binary, and I am able to add shorten as a file format in server prefs --> File Types. I am using the shorten universal binary that is distributed with xACT 1.5.8. I have also tried using the powerpc binary from my G4 on the intel iMac. No luck with either. I have set the permissions correctly and tried many combinations for shorten binary's location -- /usr/local/bin, the slimserver.prefpane, ~/library/slimdevices/bin folder. All of those locations are successfully found by the change File Types actions, but no love on shorten playback. When I play the shn file, the Squeezebox generates an error that says "Problem, can't open file for" [filename]. I've included a log entry at the end of the bug. Log entry snippet here: 2007-02-18 20:38:37.2694 Adding song index 0 to song queue 2007-02-18 20:38:37.2696 Clearing out song queue first 2007-02-18 20:38:37.2696 Song queue is now 0 2007-02-18 20:38:37.2698 00:04:20:05:c9:4d: Switching to mode stop from pause 2007-02-18 20:38:37.2699 00:04:20:05:c9:4d New play mode: stop 2007-02-18 20:38:37.2700 Stopping and clearing out old chunks for client 00:04:20:05:c9:4d 2007-02-18 20:38:37.2865 Resetting song queue 2007-02-18 20:38:37.2866 Song queue is now 0 2007-02-18 20:38:37.2867 00:04:20:05:c9:4d: Current playmode: stop 2007-02-18 20:38:38.6690 00:04:20:05:c9:4d: Switching to mode stop from stop 2007-02-18 20:38:38.6692 Already in playmode stop : ignoring mode change 2007-02-18 20:38:38.6692 jumping to 0 2007-02-18 20:38:38.6693 Adding song index 0 to song queue 2007-02-18 20:38:38.6694 Clearing out song queue first 2007-02-18 20:38:38.6694 Song queue is now 0 2007-02-18 20:38:38.6696 00:04:20:05:c9:4d: Switching to mode play from stop 2007-02-18 20:38:38.6715 openSong on: file:///Users/db/Music/Browse/Shows/Porcupine%20Tree/PT%20-%20Filharmonica%20Pomorska/PTREE1997_10_02D1/PTREE1997_10_02D1T01.SHN 2007-02-18 20:38:38.6730 openSong: getting duration , size , endian and offset 0 for file:///Users/db/Music/Browse/Shows/Porcupine%20Tree/PT%20-%20Filharmonica%20Pomorska/PTREE1997_10_02D1/PTREE1997_10_02D1T01.SHN 2007-02-18 20:38:38.6731 openSong: not bothering opening file with zero size or duration 2007-02-18 20:38:38.6732 Error opening current track, so mark it as already played 2007-02-18 20:38:38.6744 ERROR: Couldn't open song. 2007-02-18 20:38:38.6744 Got a track starting event 2007-02-18 20:38:38.6745 Song 0 has now started playing 2007-02-18 20:38:38.6747 Song queue is now 0 2007-02-18 20:38:38.6747 opening next song open: 1 error: ... 2007-02-18 20:38:38.6749 the next song is number 1, was 0 2007-02-18 20:38:38.6756 Setting maxBitRate for sbox2 to: 0 2007-02-18 20:38:38.6757 Setting maxBitRate for sbox2 to: 0 2007-02-18 20:38:38.6758 undermax = 1, type = shn, squeezebox2 = 00:04:20:05:c9:4d, lame = /Users/db/Library/iTunes/Scripts/iTunes-LAME.app/Contents/Resources/lame 2007-02-18 20:38:38.6759 checking formats for: shn-wma-squeezebox2-00:04:20:05:c9:4d 2007-02-18 20:38:38.6759 checking formats for: shn-wma-*-00:04:20:05:c9:4d 2007-02-18 20:38:38.6760 checking formats for: shn-wma-squeezebox2-* 2007-02-18 20:38:38.6761 checking formats for: shn-wma-*-* 2007-02-18 20:38:38.6761 checking formats for: shn-flc-squeezebox2-00:04:20:05:c9:4d 2007-02-18 20:38:38.6762 checking formats for: shn-flc-*-00:04:20:05:c9:4d 2007-02-18 20:38:38.6762 checking formats for: shn-flc-squeezebox2-* 2007-02-18 20:38:38.6763 checking formats for: shn-flc-*-* 2007-02-18 20:38:38.6764 Checking to see if shn-flc-*-* is enabled 2007-02-18 20:38:38.6764 There are 1 disabled formats... 2007-02-18 20:38:38.6765 Testing shn-wav-*-* vs shn-flc-*-* 2007-02-18 20:38:38.6766 Testing shn-mp3-*-* vs shn-flc-*-* 2007-02-18 20:38:38.6766 enabled 2007-02-18 20:38:38.6767 Found command: [shorten] -x $FILE$ - | [flac] -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 - 2007-02-18 20:38:38.6768 Setting maxBitRate for sbox2 to: 0 2007-02-18 20:38:38.6769 Setting maxBitRate for sbox2 to: 0 2007-02-18 20:38:38.6770 Matched Format: flc Type: shn Command: [shorten] -x $FILE$ - | [flac] -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 - 2007-02-18 20:38:38.6771 opening next song (old format: flc, new: flc) current playmode: stop 2007-02-18 20:38:38.6771 Adding song index 1 to song queue 2007-02-18 20:38:38.6772 Song queue is now 1,0 2007-02-18 20:38:38.6788 openSong on: file:///Users/db/Music/Browse/Shows/Porcupine%20Tree/PT%20-%20Filharmonica%20Pomorska/PTREE1997_10_02D1/PTREE1997_10_02D1T02.SHN 2007-02-18 20:38:38.6802 openSong: getting duration , size , endian and offset 0 for file:///Users/db/Music/Browse/Shows/Porcupine%20Tree/PT%20-%20Filharmonica%20Pomorska/PTREE1997_10_02D1/PTREE1997_10_02D1T02.SHN 2007-02-18 20:38:38.6803 openSong: not bothering opening file with zero size or duration 2007-02-18 20:38:38.6803 Error opening current track, so mark it as already played 2007-02-18 20:38:38.6809 the next song is number 2, was 1 2007-02-18 20:38:38.6817 Setting maxBitRate for sbox2 to: 0 2007-02-18 20:38:38.6818 Setting maxBitRate for sbox2 to: 0 2007-02-18 20:38:38.6819 undermax = 1, type = shn, squeezebox2 =
I will take a look.
try comparing the version number of the shorten binary on the two systems. some versions are incompatible (can't recall the specifics). recommended long-term plan would be to convert the shorten files to flac, as this is a much better format when working with slimserver.
David, I was not able to reproduce your problem here. However my test platform is a little different. I am using a Mac mini Intel Core Duo 1.66 GHz running 10.4.9. I pulled the shorten binary version 3.6.0 from X Audio Compression Toolkit 1.59. I am also using the nightly version of SlimServer. Have you tried installing 6.5.1 or the nightly?
Works in the new build, thank you for investigating.
Thanks for letting us know. Marking as 'invalid' as this is an already resolved case.
Closing resolved bugs - if you feel this bug still exists please first re-test with the latest SW/FW version. If you are able to reproduce then feel free to reopen and attach new logs / steps to reproduce.