Skip to content

Commit 13a661d

Browse files
committed
feat: Also return the filename
1 parent 1413681 commit 13a661d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/torrent/src/main/java/com/ghondar/torrentstreamer/TorrentStreamer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ public void onStreamReady(Torrent torrent) {
117117

118118
WritableMap params = Arguments.createMap();
119119
params.putString("url", torrent.getVideoFile().toString());
120+
params.putString("filename", torrent.getTorrentHandle().name());
120121
sendEvent("ready", params);
121122
}
122123

0 commit comments

Comments
 (0)