File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -520,17 +520,16 @@ def get_stream_url(station_id):
520520 current_track = station ['current_track' ]
521521 if station :
522522 __log ('get_stream_url result: %s' % stream_url )
523- return plugin .set_resolved_url (
524- listitem .ListItem (
525- label = station ['name' ],
526- label2 = current_track ,
527- path = stream_url ,
528- icon = station ['thumbnail' ],
529- thumbnail = station ['thumbnail' ],
530- fanart = __get_plugin_fanart (),
531- offscreen = True
532- )
533- )
523+ resolved_listitem = listitem .ListItem (
524+ label = station ['name' ],
525+ label2 = current_track ,
526+ path = stream_url ,
527+ icon = station ['thumbnail' ],
528+ thumbnail = station ['thumbnail' ],
529+ fanart = __get_plugin_fanart (),
530+ offscreen = True )
531+ resolved_listitem .set_property ('StationName' , station ['name' ])
532+ return plugin .set_resolved_url (resolved_listitem )
534533
535534
536535def __add_stations (stations , add_custom = False , browse_more = None ):
You can’t perform that action at this time.
0 commit comments