pyradio icon indicating copy to clipboard operation
pyradio copied to clipboard

pyradio cannot fetch title from "Hip Hop (Power 1051 NYC)"

Open crocket opened this issue 7 years ago • 1 comments

pyradio log

2018-11-17 09:53:09,435 - pyradio.player - DEBUG - Player started
2018-11-17 09:53:09,457 - pyradio.player - DEBUG - User input: Playing: http://c11.prod.playlists.ihrhls.com/1481/playlist.m3u8
2018-11-17 09:53:10,462 - pyradio.player - DEBUG - User input: [ffmpeg] http: Unable to parse 'ListenerInfo=reset; Path=/; Domain=c11.prod.playlists.ihrhls.com; Expires=Fri, 16 Nov 2018 23:53:10 GMT'
2018-11-17 09:53:11,837 - pyradio.player - DEBUG - User input: [ffmpeg] http: Unable to parse 'ListenerInfo=reset; Path=/; Domain=c11.prod.playlists.ihrhls.com; Expires=Fri, 16 Nov 2018 23:53:11 GMT'
2018-11-17 09:53:14,501 - pyradio.player - DEBUG - User input: (+) Audio --aid=1 'bitrate 49000' (aac 2ch 44100Hz)
2018-11-17 09:53:14,519 - pyradio.player - DEBUG - User input: AO: [alsa] 48000Hz stereo 2ch float

http://c11.prod.playlists.ihrhls.com/1481/playlist.m3u8

#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=49000,CODECS="mp4a.40.5"
http://c11.prod.playlists.ihrhls.com:80/1481/playlist.m3u8?listeningSessionID=5bb635fe97adf621_3748022_4z3RhpDY__0000005b406&downloadSessionID=0

http://c11.prod.playlists.ihrhls.com:80/1481/playlist.m3u8?listeningSessionID=5bb635fe97adf621_3748022_4z3RhpDY__0000005b406&downloadSessionID=0

#EXTM3U
#EXT-X-TARGETDURATION:11
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-DISCONTINUITY
#EXTINF:10,title="Law Office Of Michael S Lamonsoff*Power Only*",artist="Angie Martinez",url="song_spot=\"T\" MediaBaseId=\"-1\" itunesTrackId=\"0\" amgTrackId=\"-1\" amgArtistId=\"0\" TAID=\"-1\" TPID=\"-1\" cartcutId=\"8003384001\" amgArtworkURL=\"\" length=\"00:00:58\" unsID=\"-1\" spotInstanceId=\"46787245\""
http://cdn-chunks.prod.ihrhls.com/1481/4qgsCGy7Amkp-154241599-10031.aac
#EXTINF:10,title="Law Office Of Michael S Lamonsoff*Power Only*",artist="Angie Martinez",url="song_spot=\"T\" MediaBaseId=\"-1\" itunesTrackId=\"0\" amgTrackId=\"-1\" amgArtistId=\"0\" TAID=\"-1\" TPID=\"-1\" cartcutId=\"8003384001\" amgArtworkURL=\"\" length=\"00:00:58\" unsID=\"-1\" spotInstanceId=\"46787245\""
http://cdn-chunks.prod.ihrhls.com/1481/ei6nb06Xxlqp-154241600-9984.aac
#EXTINF:10,title="Bjs Wholesale Club",artist="Bjs Wholesale Club",url="song_spot=\"T\" MediaBaseId=\"-1\" itunesTrackId=\"0\" amgTrackId=\"-1\" amgArtistId=\"0\" TAID=\"-1\" TPID=\"-1\" cartcutId=\"8006354001\" amgArtworkURL=\"\" length=\"00:00:14\" unsID=\"-1\" spotInstanceId=\"48319279\""
http://cdn-chunks.prod.ihrhls.com/1481/360uKI2auRup-154241601-9984.aac

crocket avatar Nov 17 '18 00:11 crocket

Yes, I've seen this again with another station (The Alternative Project I think) It seems there is a breakage of the decoder (ffmpeg), so there is nothing we can do here

Here's what happens: the server sends the song info (not in icy format) once we start playing pyradio currently cannot read this info But then the decoder breaks and we get no more info So there is no point to try and get the song info - we can only get it for the first one, then nothing

pyradio -d -u mpv
2018-11-17 10:28:51,725 - pyradio.radio - DEBUG - GUI initialization
2018-11-17 10:28:51,725 - pyradio.player - DEBUG - Probing available multimedia players...
2018-11-17 10:28:51,725 - pyradio.player - INFO - Implemented players: mpv, mplayer, cvlc
2018-11-17 10:28:51,728 - pyradio.player - DEBUG - <class 'pyradio.player.MpvPlayer'> supported.
2018-11-17 10:28:55,520 - pyradio.player - DEBUG - --input-ipc-server is supported.
2018-11-17 10:28:55,521 - pyradio.player - DEBUG - using profile [pyradio]
2018-11-17 10:28:55,525 - pyradio.player - DEBUG - updateStatus thread started.
2018-11-17 10:28:55,525 - pyradio.player - DEBUG - Player started
2018-11-17 10:28:55,759 - pyradio.player - DEBUG - User input: Playing: http://c11.prod.playlists.ihrhls.com/1481/playlist.m3u8
2018-11-17 10:28:58,436 - pyradio.player - DEBUG - User input: (+) Audio --aid=1 'Mo' Money, Mo' Problems' (aac 2ch 44100Hz)
2018-11-17 10:28:58,436 - pyradio.player - DEBUG - User input: File tags:
2018-11-17 10:28:58,437 - pyradio.player - DEBUG - User input: Artist: Notorious B.I.G. / Puff Daddy / Mase
2018-11-17 10:28:58,437 - pyradio.player - DEBUG - User input: Title: Mo' Money, Mo' Problems
2018-11-17 10:28:58,448 - pyradio.player - DEBUG - User input: AO: [pulse] 44100Hz stereo 2ch float
2018-11-17 10:31:44,247 - pyradio.player - DEBUG - User input: [ffmpeg/demuxer] aac: Changing ID3 metadata in HLS audio elementary stream is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.

Using mplayer is even worse; we get sound gaps

pyradio -d -u mplayer
2018-11-17 10:36:59,191 - pyradio.radio - DEBUG - GUI initialization
2018-11-17 10:36:59,191 - pyradio.player - DEBUG - Probing available multimedia players...
2018-11-17 10:36:59,191 - pyradio.player - INFO - Implemented players: mpv, mplayer, cvlc
2018-11-17 10:36:59,194 - pyradio.player - DEBUG - <class 'pyradio.player.MpPlayer'> supported.
2018-11-17 10:37:02,712 - pyradio.player - DEBUG - using profile [pyradio]
2018-11-17 10:37:02,716 - pyradio.player - DEBUG - updateStatus thread started.
2018-11-17 10:37:02,717 - pyradio.player - DEBUG - Player started
2018-11-17 10:37:02,919 - pyradio.player - DEBUG - User input: MPlayer SVN-r38101 (C) 2000-2018 MPlayer Team
2018-11-17 10:37:02,923 - pyradio.player - DEBUG - User input: 225 audio & 464 video codecs
2018-11-17 10:37:02,923 - pyradio.player - DEBUG - User input: do_connect: could not connect to socket
2018-11-17 10:37:02,923 - pyradio.player - DEBUG - User input: connect: No such file or directory
2018-11-17 10:37:02,924 - pyradio.player - DEBUG - User input: Failed to open LIRC support. You will not be able to use your remote control.
2018-11-17 10:37:02,924 - pyradio.player - DEBUG - User input: 
2018-11-17 10:37:02,925 - pyradio.player - DEBUG - User input: Playing http://c11.prod.playlists.ihrhls.com/1481/playlist.m3u8.
2018-11-17 10:37:02,925 - pyradio.player - DEBUG - User input: Resolving c11.prod.playlists.ihrhls.com for AF_INET...
2018-11-17 10:37:03,023 - pyradio.player - DEBUG - User input: Connecting to server c11.prod.playlists.ihrhls.com[151.101.114.84]: 80...
2018-11-17 10:37:03,313 - pyradio.player - DEBUG - User input: 
2018-11-17 10:37:03,314 - pyradio.player - DEBUG - User input: Cache size set to 320 KBytes
2018-11-17 10:37:03,517 - pyradio.player - DEBUG - User input: Cache fill:  0.00% (0 bytes)   Cache fill:  0.06% (209 bytes)
2018-11-17 10:37:03,517 - pyradio.player - DEBUG - User input: 
2018-11-17 10:37:03,518 - pyradio.player - DEBUG - User input: libavformat version 58.20.100 (external)
2018-11-17 10:37:03,518 - pyradio.player - DEBUG - User input: Mismatching header version 58.12.100
2018-11-17 10:37:03,520 - pyradio.player - DEBUG - User input: libavformat file format detected.
2018-11-17 10:37:03,530 - pyradio.player - DEBUG - User input: [hls,applehttp @ 0x7fa2ee935fc0]Opening 'http://c11.prod.playlists.ihrhls.com:80/1481/playlist.m3u8?listeningSessionID=5bb635fe97adf621_3775792_vKsGYsD4__0000005d4Wg&downloadSessionID=0' for reading
2018-11-17 10:37:04,331 - pyradio.player - DEBUG - User input: [hls,applehttp @ 0x7fa2ee935fc0]Opening 'http://cdn-chunks.prod.ihrhls.com/1481/g8njj7SwkrAp-154244372-9984.aac' for reading
2018-11-17 10:37:04,713 - pyradio.player - DEBUG - User input: [hls,applehttp @ 0x7fa2ee935fc0]Opening 'http://cdn-chunks.prod.ihrhls.com/1481/7DlZmKamDuKp-154244373-9984.aac' for reading
2018-11-17 10:37:05,094 - pyradio.player - DEBUG - User input: [lavf] stream 0: audio (aac), -aid 0, No Hands
2018-11-17 10:37:05,095 - pyradio.player - DEBUG - User input: LAVF: Program 0
2018-11-17 10:37:05,095 - pyradio.player - DEBUG - User input: ==========================================================================
2018-11-17 10:37:05,096 - pyradio.player - DEBUG - User input: Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
2018-11-17 10:37:05,097 - pyradio.player - DEBUG - User input: libavcodec version 58.35.100 (external)
2018-11-17 10:37:05,098 - pyradio.player - DEBUG - User input: Mismatching header version 58.18.100
2018-11-17 10:37:05,098 - pyradio.player - DEBUG - User input: AUDIO: 44100 Hz, 2 ch, floatle, 47.4 kbit/1.68% (ratio: 5921->352800)
2018-11-17 10:37:05,099 - pyradio.player - DEBUG - User input: Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
2018-11-17 10:37:05,100 - pyradio.player - DEBUG - User input: ==========================================================================
2018-11-17 10:37:05,106 - pyradio.player - DEBUG - User input: AO: [pulse] 44100Hz 2ch floatle (4 bytes per sample)
2018-11-17 10:37:05,107 - pyradio.player - DEBUG - User input: Video: no video
2018-11-17 10:37:05,107 - pyradio.player - DEBUG - User input: Starting playback...
2018-11-17 10:37:14,941 - pyradio.player - DEBUG - User input: [http @ 0x7fa2ee93ff00]Opening 'http://c11.prod.playlists.ihrhls.com:80/1481/playlist.m3u8?listeningSessionID=5bb635fe97adf621_3775792_vKsGYsD4__0000005d4Wg&downloadSessionID=0' for reading
2018-11-17 10:37:15,518 - pyradio.player - DEBUG - User input: [http @ 0x7fa2ee93ff00]Opening 'http://cdn-chunks.prod.ihrhls.com/1481/7t3j5hrggWRp-154244374-10031.aac' for reading
2018-11-17 10:37:25,719 - pyradio.player - DEBUG - User input: [http @ 0x7fa2ee93ff00]Opening 'http://c11.prod.playlists.ihrhls.com:80/1481/playlist.m3u8?listeningSessionID=5bb635fe97adf621_3775792_vKsGYsD4__0000005d4Wg&downloadSessionID=0' for reading
2018-11-17 10:37:25,909 - pyradio.player - DEBUG - User input: [http @ 0x7fa2ee93ff00]Opening 'http://cdn-chunks.prod.ihrhls.com/1481/5u4KBnH7oS8p-154244375-9984.aac' for reading
2018-11-17 10:37:36,107 - pyradio.player - DEBUG - User input: [http @ 0x7fa2ee93ff00]Opening 'http://c11.prod.playlists.ihrhls.com:80/1481/playlist.m3u8?listeningSessionID=5bb635fe97adf621_3775792_vKsGYsD4__0000005d4Wg&downloadSessionID=0' for reading
2018-11-17 10:37:36,298 - pyradio.player - DEBUG - User input: [http @ 0x7fa2ee93ff00]Opening 'http://cdn-chunks.prod.ihrhls.com/1481/hzstJfCPYo6p-154244376-9984.aac' for reading

Each DEBUG - User input: [http @ 0x7fa2ee93ff00]Opening ... means the decoder tries to overcome an error, by reopening the connection (or something), thus imposing a sound gap

If you want to see more error messages, open a terminal and type

cvlc -Irc --log-verbose 2 --file-logging --logfile ~/cvlc.log --logmode text http://c11.prod.playlists.ihrhls.com/1481/playlist.m3u8

Then on another terminal, type

tail -f ~/cvlc.log

s-n-g avatar Nov 17 '18 08:11 s-n-g

I believe I can close this one...

s-n-g avatar Jun 14 '23 13:06 s-n-g