Opened 7 years ago

Closed 4 years ago

#8711 closed bug (fixed)

MediaPlayer cannot read whole playlist file with a lot of music

Reported by: Giova84 Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/MediaPlayer Version: R1/Development
Keywords: MediaPlayer cannot read whole playlist file with a lot of music Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

I have a playlist file which contain 4060 media files (from a NTFS disk): when i open this playlist file with MediaPlayer, MediaPlayer take a while to start and when start, it play just the first file of the list. If i use Aplayer http://haikuware.com/directory/view-details/multimedia/audio/playback/aplayer i get no issues: starts immediately to play and see all the 4060 files.

With Haiku Alpha 3, this not occurred. With Haiku Alpha 3 i remember that MediaPlayer, when i started a pls file with a lot of files, required some minutes to load entire playlist, but once was loaded, all files were availables.

hrev44295

Change History (5)

comment:1 by diver, 7 years ago

Do you see anything suspicious in a syslog while opening this playlist?

tail -F /var/log/syslog

in reply to:  1 comment:2 by Giova84, 7 years ago

Replying to diver:

Do you see anything suspicious in a syslog while opening this playlist?

USER 'liblocale.so'[19308]: app application/x-SDL-executable send to client failed: Bad port ID
KERN: AudioMixer: Dequeued input buffer 3820 usec late
KERN: AudioMixer: sending notify
KERN: fs_create_attrib - ntfs_attr_open: File or Directory already exists

I think the last line is related to MediaPlayer because media files, as i've said, are on an NTFS disk.

comment:3 by diver, 7 years ago

Also if you start MediaPlayer from Terminal it will print some additional output.

comment:4 by Giova84, 7 years ago

Sure:

Ϟ 16:42:21 Ϟ ~ MediaPlayer /boot/home/Desktop/WholeMusic.pls
Line /DATA/Musica/Rush/Rush - Tears.mp3
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3
Error - Not a directory: [80006005]
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3/DATA/Musica/Neil Young/Neil Young-1965-1979/Neil Young - 1974 - On The Beach/Neil Young - 04 - For The Turnstiles.mp3
Error - Not a directory: [80006005]
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3/DATA/Musica/Neil Young/Neil Young-1965-1979/Neil Young - 1974 - On The Beach/Neil Young - 04 - For The Turnstiles.mp3/DATA/Musica/Saki Kaskas/Saki Kaskas - Callista.mp3
Error - Not a directory: [80006005]
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3/DATA/Musica/Neil Young/Neil Young-1965-1979/Neil Young - 1974 - On The Beach/Neil Young - 04 - For The Turnstiles.mp3/DATA/Musica/Saki Kaskas/Saki Kaskas - Callista.mp3/DATA/Musica/Jim Croce/Jim Croce - Dreaming again.mp3
Error - Not a directory: [80006005]
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3/DATA/Musica/Neil Young/Neil Young-1965-1979/Neil Young - 1974 - On The Beach/Neil Young - 04 - For The Turnstiles.mp3/DATA/Musica/Saki Kaskas/Saki Kaskas - Callista.mp3/DATA/Musica/Jim Croce/Jim Croce - Dreaming again.mp3/DATA/Musica/Pink Floyd/Pink Floyd - Money.mp3
Error - Not a directory: [80006005]
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3/DATA/Musica/Neil Young/Neil Young-1965-1979/Neil Young - 1974 - On The Beach/Neil Young - 04 - For The Turnstiles.mp3/DATA/Musica/Saki Kaskas/Saki Kaskas - Callista.mp3/DATA/Musica/Jim Croce/Jim Croce - Dreaming again.mp3/DATA/Musica/Pink Floyd/Pink Floyd - Money.mp3/DATA/Musica/Frank Gambale/Frank Gambale (w Dave Weckl & Brian Auger) - Thinking Out Loud - 03 - No-Neck Louie.mp3
Error - Not a directory: [80006005]
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3/DATA/Musica/Neil Young/Neil Young-1965-1979/Neil Young - 1974 - On The Beach/Neil Young - 04 - For The Turnstiles.mp3/DATA/Musica/Saki Kaskas/Saki Kaskas - Callista.mp3/DATA/Musica/Jim Croce/Jim Croce - Dreaming again.mp3/DATA/Musica/Pink Floyd/Pink Floyd - Money.mp3/DATA/Musica/Frank Gambale/Frank Gambale (w Dave Weckl & Brian Auger) - Thinking Out Loud - 03 - No-Neck Louie.mp3/DATA/Musica/Freak Kitchen/03 - Ugly Side Of Me.mp3
Error - Not a directory: [80006005]
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3/DATA/Musica/Neil Young/Neil Young-1965-1979/Neil Young - 1974 - On The Beach/Neil Young - 04 - For The Turnstiles.mp3/DATA/Musica/Saki Kaskas/Saki Kaskas - Callista.mp3/DATA/Musica/Jim Croce/Jim Croce - Dreaming again.mp3/DATA/Musica/Pink Floyd/Pink Floyd - Money.mp3/DATA/Musica/Frank Gambale/Frank Gambale (w Dave Weckl & Brian Auger) - Thinking Out Loud - 03 - No-Neck Louie.mp3/DATA/Musica/Freak Kitchen/03 - Ugly Side Of Me.mp3/DATA/Musica/Steve Oliver/One Night Live/10-steve_oliver-bend_or_break.mp3
Error - Not a directory: [80006005]
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3/DATA/Musica/Neil Young/Neil Young-1965-1979/Neil Young - 1974 - On The Beach/Neil Young - 04 - For The Turnstiles.mp3/DATA/Musica/Saki Kaskas/Saki Kaskas - Callista.mp3/DATA/Musica/Jim Croce/Jim Croce - Dreaming again.mp3/DATA/Musica/Pink Floyd/Pink Floyd - Money.mp3/DATA/Musica/Frank Gambale/Frank Gambale (w Dave Weckl & Brian Auger) - Thinking Out Loud - 03 - No-Neck Louie.mp3/DATA/Musica/Freak Kitchen/03 - Ugly Side Of Me.mp3/DATA/Musica/Steve Oliver/One Night Live/10-steve_oliver-bend_or_break.mp3/DATA/Musica/Popa Chubby/Electric Chubbyland/Popa Chubby - ELECTRIC CHUBBYLAND/Popa Chubby - ELECTRIC CHUBBYLAND_2/Popa Chubby - Popa Chubby Plays Jimi Hendrix CD 1 Live/9. 3rd Stone From The Sun.mp3
Error - Not a directory: [80006005]
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3/DATA/Musica/Neil Young/Neil Young-1965-1979/Neil Young - 1974 - On The Beach/Neil Young - 04 - For The Turnstiles.mp3/DATA/Musica/Saki Kaskas/Saki Kaskas - Callista.mp3/DATA/Musica/Jim Croce/Jim Croce - Dreaming again.mp3/DATA/Musica/Pink Floyd/Pink Floyd - Money.mp3/DATA/Musica/Frank Gambale/Frank Gambale (w Dave Weckl & Brian Auger) - Thinking Out Loud - 03 - No-Neck Louie.mp3/DATA/Musica/Freak Kitchen/03 - Ugly Side Of Me.mp3/DATA/Musica/Steve Oliver/One Night Live/10-steve_oliver-bend_or_break.mp3/DATA/Musica/Popa Chubby/Electric Chubbyland/Popa Chubby - ELECTRIC CHUBBYLAND/Popa Chubby - ELECTRIC CHUBBYLAND_2/Popa Chubby - Popa Chubby Plays Jimi Hendrix CD 1 Live/9. 3rd Stone From The Sun.mp3/DATA/Musica/Antimatter/Antimatter [2003] Lights Out/04 - Expire.mp3
Error - Not a directory: [80006005]
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3/DATA/Musica/Neil Young/Neil Young-1965-1979/Neil Young - 1974 - On The Beach/Neil Young - 04 - For The Turnstiles.mp3/DATA/Musica/Saki Kaskas/Saki Kaskas - Callista.mp3/DATA/Musica/Jim Croce/Jim Croce - Dreaming again.mp3/DATA/Musica/Pink Floyd/Pink Floyd - Money.mp3/DATA/Musica/Frank Gambale/Frank Gambale (w Dave Weckl & Brian Auger) - Thinking Out Loud - 03 - No-Neck Louie.mp3/DATA/Musica/Freak Kitchen/03 - Ugly Side Of Me.mp3/DATA/Musica/Steve Oliver/One Night Live/10-steve_oliver-bend_or_break.mp3/DATA/Musica/Popa Chubby/Electric Chubbyland/Popa Chubby - ELECTRIC CHUBBYLAND/Popa Chubby - ELECTRIC CHUBBYLAND_2/Popa Chubby - Popa Chubby Plays Jimi Hendrix CD 1 Live/9. 3rd Stone From The Sun.mp3/DATA/Musica/Antimatter/Antimatter [2003] Lights Out/04 - Expire.mp3/DATA/Musica/Black Sabbath/Black Sabbath - Solitude.mp3
Error - Not a directory: [80006005]
Line /DATA/Musica/Rush/Rush - Tears.mp3/DATA/Musica/Randy Rhoads Tribute/10. Diary of a Madman.mp3/DATA/Musica/Neil Young/Neil Young-1965-1979/Neil Young - 1974 - On The Beach/Neil Young - 04 - For The Turnstiles.mp3/DATA/Musica/Saki Kaskas/Saki Kaskas - Callista.mp3/DATA/Musica/Jim Croce/Jim Croce - Dreaming again.mp3/DATA/Musica/Pink Floyd/Pink Floyd - Money.mp3/DATA/Musica/Frank Gambale/Frank Gambale (w Dave Weckl & Brian Auger) - Thinking Out Loud - 03 - No-Neck Louie.mp3/DATA/Musica/Freak Kitchen/03 - Ugly Side Of Me.mp3/DATA/Musica/Steve Oliver/One Night Live/10-steve_oliver-bend_or_break.mp3/DATA/Musica/Popa Chubby/Electric Chubbyland/Popa Chubby - ELECTRIC CHUBBYLAND/Popa Chubby - ELECTRIC CHUBBYLAND_2/Popa Chubby - Popa Chubby Plays Jimi Hendrix CD 1 Live/9. 3rd Stone From The Sun.mp3/DATA/Musica/Antimatter/Antimatter [2003] Lights Out/04 - Expire.mp3/DATA/Musica/Black Sabbath/Black Sabbath - Solitude.mp3/DATA/Musica/Accept/Accept - Metal Masters/Accept - Metal Masters - 01 - Lady You.mp3
Error - Not a directory: [80006005]
Line (null)
Error - No File Found in playlist
Line (null)
Error - No File Found in playlist
(repeated many times)
open playlist item: Rush - Tears.mp3
[mp3 @ 0x1810e548] Header missing
[mp3 @ 0x1810e548] Header missing
[mp3 @ 0x1810c438] max_analyze_duration 5000000 reached at 5015510
[mp3 @ 0x1810c438] Estimating duration from bitrate, this may be inaccurate
_InitFromTrack(): keyframes: 1, frame count: 8993497
running without video node
BMediaEventLooper: SchedulingLatency is 750
BMediaRoster::Connect connection established!
[mp3 @ 0x1810e140] Header missing
########### audio decode error, fChunkBufferSize 156, fChunkBufferOffset 0
[mp3 @ 0x1810e140] Header missing

As i've said, this pls file, with Aplayer gave me no errors.

comment:5 by Barrett, 4 years ago

Resolution: fixed
Status: newclosed

The playlist loading has been recently modified to be multithreaded, if you have still this problem feel free to comment and I will reopen the ticket.

Note: See TracTickets for help on using tickets.