nuclear icon indicating copy to clipboard operation
nuclear copied to clipboard

Integration with bittorrent

Open mrd0ll4r opened this issue 6 years ago • 5 comments

...to truly be popcorntime for music.

I imagine integration with popular private trackers, to avoid downloading any famous-song.mp3.exe.zips. Also they usually have a relatively well-organized library to tap.

mrd0ll4r avatar Jan 16 '19 16:01 mrd0ll4r

I thought about this, but the problem is that most music on torrent trackers is shared via zipped albums, and there's no way to selectively stream a single song. Private trackers would be a good choice but that would require a lot of manual fiddling by the users to use their credentials, and I imagine it would increase the risk of being banned and losing a precious account (or at the very least lowering seed ratio).

nukeop avatar Jan 16 '19 16:01 nukeop

Yes, I'd avoid public trackers, for reasons of malware and the archives issue. I agree working with private trackers might be a bit annoying - you really want to keep the stuff seeding. I still think it would be fantastic, and honestly sometimes ratio doesn't matter as much. As a first approach, all the downloaded data could just be saved locally to at least avoid re-downloading it. Seeding would be nice, but I see how shipping a complete bittorrent client that can handle possibly hundreds of torrents is a bit overkill.

Alternative idea: What about a plugin or any integration of using a library via sftp? As I see it, you're already considering using a local library, so that would probably not be too far off. From there, it would then only be a small-ish step to integrate the whole thing with a remote rtorrent/deluge/... client to handle the actual torrent stuff.

It's all just brainstorming though... But it would be super cool :)

I actually many times thought about a project to unify the APIs of private tracker sites to make the whole integration easier, because I was (and am) very interested in the "popcorntime for music". Maybe something like that would be useful now...

mrd0ll4r avatar Jan 16 '19 17:01 mrd0ll4r

If you ever want to add streaming support for private trackers, your only torrent client choice is deluge with a plugin I made called deluge-streaming.

With music being small files, it might be possible to just download a file before playing it.

... unify the APIs of private tracker sites

This can be quite hard as sites have a tendency to spit out data organized differently with very different models related to metadata :smile:

JohnDoee avatar Jan 16 '19 18:01 JohnDoee

the problem is that most music on torrent trackers is shared via zipped albums

The largest Russian-language torrent tracker directly prohibits posting music in archives. I rarely did not find the discography of some musical artist on it, and I recommend this site for experiments on introducing p2p support into Nuclear Player.

Korb avatar Aug 01 '24 06:08 Korb

Do you mean rutracker? That would be pretty cool to have.

nukeop avatar Aug 01 '24 07:08 nukeop