missing track info on mp3 (live) streaming

see also https://forums.plex.tv/discussion/210913/missing-track-info-on-mp3-live-streaming

running rasplex 6.03@RPI3
installed Aeon Nox 5.08 skin

On Rasplex, I notice that when I use my channel to stream live music from an internet radio, the current song info is not displayed on the screen.

Running Plex Home Theater at a windows box and with same skin, the song info is correctly displayed on the screen:

Is it an option to port this functionality to rasplex? This would be great!
thanx in advance,
B

Can you test with the ffmpeg avio preference option disabled?

With ffmpeg avio disabled it could work, but I found some other possible issues in the code related to shoutcast when ffmpeg avio is disabled. More investigation and testing is needed.

@kwiboo thanx for looking in to this.
After disabling ffmpeg avio, the streaming doen’t work at all…!

I attached the plugin, but as you can see below the code is very simple:
just open an mp3 stream, i.e.
http://mp3.streampower.be/radio1-high.mp3

I must say I’m surprised this setting influences the behavior of my plugin…

hopefully you’ll find a solution

kind regards,
B

ART = ‘art-default.jpg’
ICON = ‘icon-default.jpg’
NAME = ‘InternetRadioBE 1’

######################################################################################
def Start():

ObjectContainer.art = R(ART)
ObjectContainer.title1 = NAME
TrackObject.thumb = R(ICON)

######################################################################################
@handler(’/music/internetradiobe1’, NAME, thumb=ICON, art=ART)
def MainMenu():

oc = ObjectContainer(title2="Radiokanalen")
oc.add(CreateTrackObject(url='http://mp3.streampower.be/radio1-high.mp3', title='Radio 1',thumb='RadioEen.png'))
oc.add(CreateTrackObject(url='http://mp3.streampower.be/ra2vlb-high.mp3', title='Radio 2',thumb='RadioTwee.png'))
oc.add(CreateTrackObject(url='http://mp3.streampower.be/klara-high.mp3', title='Klara',thumb='Klara.png'))
oc.add(CreateTrackObject(url='http://mp3.streampower.be/klaracontinuo-high.mp3', title='Klara Continuo',thumb='KlaraContinuo.png'))
oc.add(CreateTrackObject(url='http://mp3.streampower.be/stubru-high.mp3', title='Studio Brussel',thumb='StudioBrussel.png'))
oc.add(CreateTrackObject(url='http://mp3.streampower.be/mnm-high.mp3', title='MNM',thumb='MNM.png'))
oc.add(CreateTrackObject(url='http://mp3.streampower.be/mnm_hits-high.mp3', title='MNM hits',thumb='MNMhits.png'))
oc.add(CreateTrackObject(url='http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3', title='Q-music',thumb='Q-music.png'))
oc.add(CreateTrackObject(url='http://download.streampower.be/vrt/radio1/11_11niws-snip_hi.mp3', title='VRT Nieuws Plus',thumb='NieuwsPlus.png'))

return oc

######################################################################################
def CreateTrackObject(url, title, thumb, include_container=False):

track_object = TrackObject(
	key = Callback(CreateTrackObject, url=url, title=title, thumb=thumb,include_container=True),
	rating_key = url,
	title = title,
	summary = "hier komt de omschrijving voor " + title,
	thumb = R(thumb),
	items = [
		MediaObject(
			parts = [
				PartObject(key=Callback(PlayAudio, url=url, ext='mp3'))
			],
			container = Container.MP3,
			#bitrate = 128,
			audio_codec = AudioCodec.MP3,
			audio_channels = 2
		)
	]
)

if include_container:
	return ObjectContainer(objects=[track_object])
else:
	return track_object

######################################################################################
def PlayAudio(url):

return Redirect(url)

This is fixed in next release.

Regards

thanx @NedtheNerd !