YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.player.PlaylistTargets Class Reference

Where "add to playlist" puts the items: the chosen receivers that already have a player get the items added to it, the chosen receivers without one get a new player. More...

Collaboration diagram for de.yaacc.player.PlaylistTargets:
Collaboration graph

Public Member Functions

List< String > withPlayer ()
 Chosen receivers that already have a player: their playlists get the items.
 
List< String > withoutPlayer ()
 Chosen receivers without a player: each gets a new player with the items.
 

Static Public Member Functions

static PlaylistTargets split (Collection< String > chosenIds, Collection< String > playerDeviceIds)
 

Detailed Description

Where "add to playlist" puts the items: the chosen receivers that already have a player get the items added to it, the chosen receivers without one get a new player.

Plain Java so the rule is testable.

Member Function Documentation

◆ split()

static PlaylistTargets de.yaacc.player.PlaylistTargets.split ( Collection< String > chosenIds,
Collection< String > playerDeviceIds )
static
Parameters
chosenIdsthe ids of the chosen receivers, in the order they should be served
playerDeviceIdsthe receiver ids of the players that are running now

Referenced by de.yaacc.upnp.UpnpClient.addToPlaylist().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: