public void updatePlayStateOnTrackItem(String _listId, TrackPlayState _playState, Int32 _itemIndex = -1) { ZoneTrackMediaList mediaList = (ZoneTrackMediaList)this.getList(_listId); if (mediaList == null) { return; } mediaList.updatePlayStateOnTrackItem(_playState, _itemIndex); }
protected override UPNPMediaList createListObject(String _listId) { ZoneTrackMediaList mediaList = new ZoneTrackMediaList(_listId); Zone zone; mediaList.zoneUDN = _listId; zone = Global.getZoneManager().getZone(mediaList.zoneUDN); zone.trackListId = mediaList.zoneUDN; zone.trackListCreated(); return(mediaList); }
public override void retrieveListFromAvTransportUri(String _listId, String _avTransportUri, String _avTransportUriMetaData) { base.retrieveListFromAvTransportUri(_listId, _avTransportUri, _avTransportUriMetaData); ZoneTrackMediaList mediaList = (ZoneTrackMediaList)lists[_listId]; String currentPlayingId = this.getParameterFromAvTransportUri(_avTransportUri, "fii"); if (!String.IsNullOrWhiteSpace(currentPlayingId)) { mediaList.currentTrackIndexPlaying = Convert.ToInt32(currentPlayingId); } mediaList.containerInfoMetaData = _avTransportUriMetaData; mediaList.setListItemSelectedForPlaying(); }
protected override UPNPMediaList createListObject(String _listId) { ZoneTrackMediaList mediaList = new ZoneTrackMediaList(_listId); Zone zone; mediaList.zoneUDN = _listId; zone = Global.getZoneManager().getZone(mediaList.zoneUDN); zone.trackListId = mediaList.zoneUDN; zone.trackListCreated(); return mediaList; }
public ZoneTrackMediaList getListForZone(String _zoneUdn) { ZoneTrackMediaList mediaList = (ZoneTrackMediaList)this.getList(_zoneUdn); return(mediaList); }