Bug 3711 - Not all FLACs/MP3s play
: Not all FLACs/MP3s play
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Streaming From SlimServer
: 6.3.0
: PC Fedora
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-07 10:57 UTC by udo
Modified: 2009-01-29 09:47 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
One of the MP3s that don't play on the SB/slimserver but work OK in Winamp (17.37 MB, application/octet-stream)
2006-07-10 09:51 UTC, udo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description udo 2006-07-07 10:57:20 UTC
Slimserver is on a Fedora Core 5 Linux box.
Web interface is accessed from a Win2K machine.
Music is on the Linux box.

Issue with slimserver  2006_07_07:

Multiple flacs in a directry that is accesible to slimserver.
Not all flacs play. Some give an error: problem: can't open file for: <title>

The files have the same permissions. The files play fine in winamp on the windoze box.

Also: slimserver is not that fast and kinda big. I know a 600 Mhz firewall is not powerfull but scanning a few directories with less than 200 mp3s takes ages and refreshing a directory is not quick. The Linux machine has plenty of RAM.
Comment 1 udo 2006-07-07 11:16:22 UTC
When I rename the non-playable files they are playable.

Details:

# mv 05\ Data\ Bank.flac 05.flac
# mv 02\ Nine\ Lives.flac 02.flac
# mv 03\ Donald\ Trump\ \(Black\ Version\).flac 03.flac
# mv 04\ Love\ Machine.flac 04.flac

The short names then play.

Other files with names like 01 Murph Drag.flac play OK.
Also 6.3.0 has this issue.
So the handling of filenames varies?
Comment 2 udo 2006-07-09 08:28:36 UTC
Also Mp3 files have this issue.
All mp3 files are same type:

# file *.mp3
01 Planet Rock.mp3:                      Audio file with ID3 version 22.0 tag, MP3 encoding
02 Looking For The Perfect Beat.mp3:     Audio file with ID3 version 22.0 tag, MP3 encoding
03 Renegades Of Funk.mp3:                Audio file with ID3 version 22.0 tag, MP3 encoding
04 Frantic Situation.mp3:                Audio file with ID3 version 22.0 tag, MP3 encoding
05 Who You Funkin' With_.mp3:            Audio file with ID3 version 22.0 tag, MP3 encoding
06 Go Go Pop.mp3:                        Audio file with ID3 version 22.0 tag, MP3 encoding
07 They Made A Mistake.mp3:              Audio file with ID3 version 22.0 tag, MP3 encoding
computer blue #3.mp3:                    Audio file with ID3 version 22.0 tag, MP3 encoding
Control (Curry & Van Inkel Minimix).mp3: Audio file with ID3 version 23.0 tag, MP3 encoding
control.mp3:                             Audio file with ID3 version 23.0 tag, MP3 encoding

Alles files have same permission and groups (770, udo.slimserver).
Only the bottom 3 files play.
What is wrong!? I bought the SB to play all of my songs.
Please let me know how I can gather enough info so you can fix this bug.
Comment 3 Chris Owens 2006-07-10 09:35:44 UTC
udo, could you attach one of the non-playing files to this bug?
Comment 4 udo 2006-07-10 09:51:27 UTC
Created attachment 1324 [details]
One of the MP3s that don't play on the SB/slimserver but work OK in Winamp
Comment 5 Chris Owens 2006-07-11 14:47:53 UTC
Hi udo,

For some reason, Bugzilla seems to have forgotten the original filename of the file you uploaded.  Do you remember what it was?
Comment 6 udo 2006-07-11 20:17:26 UTC
01 Planet Rock.mp3 was the mp3's name. What more tests can I do to help fix the bug?
I just browse the music folder and in a subdirectory I have the mp3's.
Comment 7 udo 2006-07-14 10:00:05 UTC
01_Musicology__MMM_.flac:                              FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 11854668 samples
02_Knock_On_Wood__MMM_.flac:                           FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 7492296 samples
03_DMSR__MMM_.flac:                                    FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 11405436 samples
04_DMSR__NAACP_.flac:                                  FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 3720864 samples
05_We_re_A_Winner__NAACP_.flac:                        FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 3041136 samples
06_I_Never_Loved_A_Man__NAACP_.flac:                   FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 2703036 samples
07_Satisfied__NAACP_.flac:                             FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 4395300 samples
08_I_Don_t_Want_Nobody_To_Give_Me_Nothin__NAACP_.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 2210292 samples
09_Housequake__NAACP_.flac:                            FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 3592680 samples
10_The_Jam__NAACP_.flac:                               FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 1152480 samples
11_The_Bird__NAACP_.flac:                              FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 2584260 samples
12_The_Glamorous_Life__NAACP_.flac:                    FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 4770444 samples
13_Santana_Medley__NAACP_.flac:                        FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 4001928 samples
14_Fury__SNL_.flac:                                    FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 11474820 samples
15_Beautiful__Love__and_Blessed__SNL_.flac:            FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 10828020 samples
16_Te_Amo_Corazon__BRITS_.flac:                        FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 7310016 samples
17_Fury__BRITS_.flac:                                  FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 6521508 samples
18_Purple_Rain__BRITS_.flac:                           FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 10745700 samples
19_Let_s_Go_Crazy__BRITS_.flac:                        FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 7561680 samples
20_Lolita__AI_.flac:                                   FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 4932144 samples
21_Satisfied__AI_.flac:                                FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 4587576 samples
22_Get_On_The_Boat__GMA_.flac:                         FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 10876824 samples
23_Red_Headed_Step_Child__GMA_.flac:                   FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 10061268 samples
24_Let_s_Go_Crazy__GMA_.flac:                          FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 6603828 samples
25_Ain_t_Nobody__BET_.flac:                            FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 1293600 samples
26_Sweet_Thing__BET_.flac:                             FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 5841192 samples
27_Tell_Me_Something_Good__BET_.flac:                  FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 7054824 samples
28_Through_The_Fire__BET_.flac:                        FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 5767104 samples
29_I_Feel_For_You__BET_.flac:                          FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 5617164 samples
30_I_m_Every_Woman__BET_.flac:                         FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 7502880 samples
31_3121__BET_.flac:                                    FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 14494278 samples

Songs 22-30 do not play when browsing the music folder.

All files are -rwxrw---- 1 udo slimserver
Comment 8 udo 2006-07-14 10:02:00 UTC
Any hints on builds that I might try?
Ideas about the cause(s)?
Comment 9 udo 2006-07-14 22:31:02 UTC
After renaming the files the non-playing files become playable:

01 Musicology (MMM).flac
02 Knock On Wood (MMM).flac
03 DMSR (MMM).flac
04 DMSR (NAACP).flac
05 We're A Winner (NAACP).flac
06 I Never Loved A Man (NAACP).flac
07 Satisfied (NAACP).flac
08 I Don't Want Nobody To Give Me Nothin (NAACP).flac
09 Housequake (NAACP).flac
10 The Jam (NAACP).flac
11 The Bird (NAACP).flac
12 The Glamorous Life (NAACP).flac
13 Santana Medley (NAACP).flac
14 Fury (SNL).flac
15 Beautiful, Love, and Blessed (SNL).flac
16 Te Amo Corazon (BRITS).flac
17 Fury (BRITS).flac
18 Purple Rain (BRITS).flac
19 Let's Go Crazy (BRITS).flac
20 Lolita (AI).flac
21 Satisfied (AI).flac
22 Get On The Boat (GMA).flac
23 Red Headed Step Child (GMA).flac
24 Let's Go Crazy (GMA).flac
25 Ain't Nobody (BET).flac
26 Sweet Thing (BET).flac
27 Tell Me Something Good (BET).flac
28 Through The Fire (BET).flac
29 I Feel For You (BET).flac
2KTV_Audio_Volume2.par2
30 I'm Every Woman (BET).flac
31 3121 (BET).flac

How can this be?!
Comment 10 udo 2006-07-16 00:38:45 UTC
Also tuning in to radio stations doe not work well.
This bug looks similar to this one (Not all FLACs/MP3s play) but I am not sure.
Should I file another report?

Tuning in to http://www.sfasu.edu/ksau/ksau.high.pls does not work.
Using http://ip:port does work.

Comment 11 Chris Owens 2006-07-17 13:02:05 UTC
Dan, I seem to be having a hard time reproducing this.  I'm sure you have a better understanding than me of linux filesystem peculiarities that might cause this.  Do you have any theories?
Comment 12 Dan Sully 2006-07-17 13:19:58 UTC
The MP3 that you uploaded plays fine for me on 6.5

There is nothing special about the path names that you list.

The remote URL issue sounds like your server isn't resolving names properly.
Comment 13 udo 2006-07-18 01:39:04 UTC
Can I test 6.5?
Resolving goes via the same box which does resolving for my web browsing which works well.
Comment 14 Chris Owens 2006-07-18 10:11:45 UTC
It would be very helpful for you to test 6.5.  It's available at http://www.slimdevices.com/downloads/nightly/latest/6.5/
Comment 15 udo 2006-07-18 10:30:48 UTC
The 'v6.5' build installs and starts mysql although I alread have mysql running.
Why include mysql in the rpm? Mysql is available as a separate rpm and can be made a dependency.

At this moment I cannot connect to the SlimServer. (!)
Comment 16 udo 2006-07-18 10:32:56 UTC
Some logs:

InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
060718 19:27:27  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
060718 19:27:27  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
060718 19:27:27  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
060718 19:27:28  InnoDB: Started; log sequence number 0 0
060718 19:27:28 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them
060718 19:27:28 [Note] /usr/local/slimserver/Bin/i386-linux/mysqld: ready for connections.
Version: '5.0.21-standard'  socket: '/usr/local/slimserver/slimserver-mysql.sock'  port: 9092  MySQL Community Edition - Standard (GPL)
060718 19:27:29 [Note] /usr/local/slimserver/Bin/i386-linux/mysqld: Normal shutdown

060718 19:27:29  InnoDB: Starting shutdown...
060718 19:27:30  InnoDB: Shutdown completed; log sequence number 0 43655
060718 19:27:30 [Note] /usr/local/slimserver/Bin/i386-linux/mysqld: Shutdown complete

060718 19:27:31  InnoDB: Started; log sequence number 0 43655
060718 19:27:31 [Note] /usr/local/slimserver/Bin/i386-linux/mysqld: ready for connections.
Version: '5.0.21-standard'  socket: '/usr/local/slimserver/slimserver-mysql.sock'  port: 9092  MySQL Community Edition - Standard (GPL)
2006-07-18 19:27:32.5394 Scalar found where operator expected at /usr/local/slimserver/Slim/Schema.pm line 1805, near "->id $albumObj"
2006-07-18 19:27:32.5413        (Missing operator before $albumObj?)
syntax error at /usr/local/slimserver/Slim/Schema.pm line 1805, near "->id $albumObj"
syntax error at /usr/local/slimserver/Slim/Schema.pm line 1872, near ")"
Compilation failed in require at /usr/local/slimserver/Slim/Music/Info.pm line 60.
2006-07-18 19:31:29.8849 Scalar found where operator expected at /usr/local/slimserver/Slim/Schema.pm line 1805, near "->id $albumObj"
2006-07-18 19:31:29.8862        (Missing operator before $albumObj?)
syntax error at /usr/local/slimserver/Slim/Schema.pm line 1805, near "->id $albumObj"
syntax error at /usr/local/slimserver/Slim/Schema.pm line 1872, near ")"
Compilation failed in require at /usr/local/slimserver/Slim/Music/Info.pm line 60.
Comment 17 Chris Owens 2006-07-18 11:09:58 UTC
Sorry, I should have inserted a wait() in my instructions until after bug 3774 gets fixed and put into a nightly build!
Comment 18 Dan Sully 2006-07-18 11:10:15 UTC
Subject: Re:  Not all FLACs/MP3s play

There was a typo in last nights build - It's been fixed, and I'm rebuilding now.

Regarding MySQL - the goal is to have it as an RPM dependency. But since RPM
is nowhere near as good as Debian's apt, it's a much harder thing to do.

Comment 19 Dan Sully 2006-07-18 13:22:56 UTC
FYI, the build is up now.
Comment 20 udo 2006-07-19 09:57:57 UTC
RPM dependencies: 

Requires: mysql, mysql-server

should be enough to require mysql on the box. Current mysql-in-slimserver-rpm situation is ugly.
What functionality do you need that rpm does not offer?
Need help with writing a SPEC file? (I am no guru but could give it a try)

Songs that did not play before now appear to play. Will need to test some more, but looks good.
Comment 21 Dan Sully 2006-07-19 10:05:55 UTC
Ok.

Please see the Unix forums - Al Pacifico is working on a new RPM spec file that includes the proper dependencies.

I'm going to mark this as closed. Please reopen if you can reproduce.

Thanks