public PersistentBeamPlaylist(PimpSession session, PimpWebSocket webSocket, BeamPlayer player) : base(session, webSocket, player) { fileName = session.Username + ".json"; webSocket.Welcomed += webSocket_Welcomed; webSocket.Disconnected += PlayerDisconnected; }
public override async Task Upload(MusicItem song, string resource, PimpSession destSession) { var lib = await FindLibrary(song.Path); if (lib != null) { await lib.Upload(song, resource, destSession); } }
public BeamPlayer(PimpSession session, PimpWebSocket webSocket, CoverService coverService) : base(session, webSocket) { IsSkipAndSeekSupported = false; Volume = 100; IsMute = false; webSocket.Welcomed += webSocket_Welcomed; webSocket.Disconnected += webSocket_Disconnected; TrackChanged += BeamPlayer_TrackChanged; }
public override Task Upload(MusicItem song, string resource, PimpSession destSession) { return(destSession.Upload(song, resource)); }
public override Task Upload(MusicItem song, string resource, PimpSession destSession) { MessagingService.Instance.Send("Sorry, MusicBeaming is not supported with Subsonic as music source. The music source must be a MusicPimp server or your local device."); return(AsyncTasks.Noop()); }
public BasePlayer NewBeamPlayer(PimpSession session, PimpWebSocket socket) { return(impl.NewBeamPlayer(session, socket)); }
public abstract Task Upload(MusicItem song, string resource, PimpSession destSession);
public PhoneBeamPlayer(PimpSession session, PimpWebSocket webSocket) : base(session, webSocket, PhoneCoverService.Instance) { BeamPlaylist = new PhoneBeamPlaylist(session, webSocket, this); Init(); }
public PimpPlayer(PimpSession s, Func <MusicEndpoint> musicSource, PimpWebSocket webSocket) : this(s, webSocket, new PimpPlaylist(s, musicSource, webSocket)) { }
public StoreBeamPlaylist(PimpSession session, PimpWebSocket webSocket, BeamPlayer player) : base(session, webSocket, player) { roaming = new RoamingSettings(); }
public BeamPlaylist(PimpSession session, PimpWebSocket webSocket, BeamPlayer player) : base(webSocket) { this.session = session; this.player = player; }
public PhoneBeamPlaylist(PimpSession session, PimpWebSocket webSocket, BeamPlayer player) : base(session, webSocket, player) { }