Package com.biglybt.ui.swt.views.skin
Class TorrentListViewsUtils
java.lang.Object
com.biglybt.ui.swt.views.skin.TorrentListViewsUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static StreamManagerDownload
private static boolean
private static TextViewerWindow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
_playOrStream
(DownloadManager dm, int file_index, boolean complete_only, String referal) private static void
static void
downloadDataSource
(Object ds, boolean playNow, String referal) private static int
installEMP
(String name, Runnable target) private static int
openInEMP
(DownloadManager dm, int _file_index, boolean complete_only, String referal) New version accepts map with ASX parameters.static int
static void
playOrStream
(DownloadManager dm, int file_index) Plays or Streams a Downloadstatic void
playOrStream
(DownloadManager dm, int file_index, boolean complete_only, boolean launch_already_checked) private static void
playOrStream
(DownloadManager dm, int file_index, boolean complete_only, boolean launch_already_checked, String referal) static void
playOrStreamDataSource
(Object ds, boolean launch_already_checked) static void
playOrStreamDataSource
(Object ds, String referal, boolean launch_already_checked, boolean complete_only)
-
Field Details
-
current_stream
-
stream_viewer
-
emp_installing
private static boolean emp_installing
-
-
Constructor Details
-
TorrentListViewsUtils
public TorrentListViewsUtils()
-
-
Method Details
-
playOrStreamDataSource
-
playOrStreamDataSource
-
downloadDataSource
-
playOrStream
public static void playOrStream(DownloadManager dm, int file_index, boolean complete_only, boolean launch_already_checked) -
playOrStream
private static void playOrStream(DownloadManager dm, int file_index, boolean complete_only, boolean launch_already_checked, String referal) -
_playOrStream
private static void _playOrStream(DownloadManager dm, int file_index, boolean complete_only, String referal) -
debug
- Parameters:
string
-- Since:
- 3.0.3.3
-
installEMP
- Returns:
- 0=good, 1 = fail, 2 = abandon
-
openInEMP
private static int openInEMP(DownloadManager dm, int _file_index, boolean complete_only, String referal) New version accepts map with ASX parameters. If the params are null then is uses the old version to start the player. If the- Parameters:
dm
- - DownloadManager- Returns:
- - int: 0 = ok, 1 = fail, 2 = abandon, installation in progress
- Since:
- 3.0.4.4 -
-
openInEMP
-
playOrStream
Plays or Streams a Download- Parameters:
dm
-file_index
- Index of file in torrent to play. -1 to auto-pick "best" play file.
-