+ // ---------------------------------------------------------------------------
+
+ async getPlaylistInfohash (playlistId: number) {
+ const result = await this.selectQuery('SELECT "p2pMediaLoaderInfohashes" FROM "videoStreamingPlaylist" WHERE id = ' + playlistId)
+ if (!result || result.length === 0) return []
+
+ return result[0].p2pMediaLoaderInfohashes
+ }
+
+ // ---------------------------------------------------------------------------
+