[Alpha] - New MP-Torrent plugin (2 Viewers)

torrinha

Portal Pro
October 14, 2009
55
31
Home Country
Brazil Brazil
Hello again!

Time to release something!
This is the very first pre-ultra-buggy-alpha version of the plugin.
It doesn't do much... Things you can do:
- Monitor your donwloads on uTorrent or Deluge;
- Pause, Start and Stop torrents;
- Search and download torrents from ThePirateBay and KickAssTorrents;

I've not created the Google Code project yet, as I still need to clean some code...
After that, I hope that the code/interfaces will be more stable, so I can release some info on how to add support to your favorite search engine or torrent back end.

Feedback/suggestions will be more than welcome!

Instructions:

- Put the files inside Windows in your pluginsWindows folder;
- Put the files inside Skin into your Skin folder (the included files works fine with Blue3Wide. It also works with StreamedMP, but the background is black, with no image).

Enjoy!

torrinha


Hi all!

After being using MediaPortal since 2009 I thought it was time to contribute a little.
In the beginning I used the great MyTorrents (https://forum.team-mediaportal.com/mediaportal-plugins-47/mytorrents-v0-69-3-a-56482/).

But a few months ago I changed my setup here and installed a NAS running Ubuntu Server with Deluge torrent client.
Since then I've been missing monitoring and searching for torrents from within MediaPortal.

Then, a couple of weeks ago I found a project called Transdroid (transdroid - Project Hosting on Google Code) and liked the idea of one single UI supporting several torrent clients as well as different search sites.

So I started to make my own torrent plugin, using also some code from MyTorrents project.
The plugin is in a very early stage.
Things that are working right now:
- monitor torrents from uTorrent (even with webui.token_auth enabled);
- monitor torrents from Deluge;

I'm using the idea from SubtitleDownloader, so adding support to new torrent clients should be relatively easy (just create a new DLL implementing one interface. After putting the DLL on one specific folder, it should work).
I'm thinking of using this idea for torrent search too.

My code is still too messy, but I'm planning to create a new project on Google Code for issues, patches, etc.

I'd like to hear thoughts, comments, ideas, skin mock-ups, etc, etc, etc.
 

Attachments

  • mp-torrent.zip
    649.9 KB

seco

Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    Re: [Ideas] - New plugin for Torrents

    I'm not sure if you already know but there is a plugin for downloading, it is similar than SubCentral (+SubtitleDownloader) and uses it's code:

    https://forum.team-mediaportal.com/...s-moving-pictures-mediaportal-tvseries-88295/

    I haven't had time to look at it close enough, but it should support different kind of backends and not only torrents, maybe something you can use..
     

    torrinha

    Portal Pro
    October 14, 2009
    55
    31
    Home Country
    Brazil Brazil
    Re: [Ideas] - New plugin for Torrents

    Thanks for the comments, Seco!

    Actually, I did not know that DownloadCentral support torrent files too.
    Last time I checked, it didn't.

    So I took a quick look at the plugin and I think the idea is great!

    But one thing that I don't like very much is the integration method to the backend.
    In my opinion, using web ui from torrent backend makes things simpler to the end-user and from the configuration point of view.

    I could use some of his ideas (specially support other kind of backends).

    Anyway, I think this development is worth a try.
    Maybe, in the future, my code could even be merged with downloadcentral.

    Let's see if someone else is interested in this plugin...
    Otherwise I think I'll keep it private...

    :D
     

    torrinha

    Portal Pro
    October 14, 2009
    55
    31
    Home Country
    Brazil Brazil
    Re: [Ideas] - New plugin for Torrents

    Just an update.
    Here are some screenshots of the config screen and inside MediaPortal.
    The skin files are somewhat "stolen" from MyTorrents plugin.
    Ideas for skin layout are always welcome!! :D

    By now, the supported torrent backends are uTorrent and Deluge. I plan to support others in the future.

    In the next steps, I'll implement support for search and download of torrent files.

    I'm also thinking of new features, like direct download from mp-tvseries, moving-pictures and onlinevideos (itunes trailers).
    Maybe, some day, other kind of backend (like FTP, eMule, etc) will be added.

    So, stay tuned! :cool:
     

    Attachments

    • config-1.jpg
      config-1.jpg
      41.4 KB
    • config-2.jpg
      config-2.jpg
      41.4 KB
    • plugin-1.jpg
      plugin-1.jpg
      96.7 KB
    • plugin-2.jpg
      plugin-2.jpg
      65.9 KB
    • plugin-3.jpg
      plugin-3.jpg
      87.6 KB

    Hedehede81

    Portal Member
    February 20, 2011
    18
    1
    43
    Re: [Ideas] - New plugin for Torrents

    I'm really interested in this project. Especially the search torrents and adding it to utorrent part. Hope it goes well, I would be glad to test if you need a hand.
     

    torrinha

    Portal Pro
    October 14, 2009
    55
    31
    Home Country
    Brazil Brazil
    Re: [Ideas] - New plugin for Torrents

    Hi, Hedehede81!

    Thanks for the interest!
    Right now I'm a little busy because of some work stuff, but I think that next week I can get back to the plugin development.

    It is already working with search and download of torrents from ThePirateBay and KickAssTorrents.
    I'm having some trouble dealing with isoHunt.
    I hope to release something that could be tested in two weeks, at maximum.

    For now, the only skin supported is BlueWide, but I'll try to make something for StreamedMP too.

    And your help will be much appreciated!
    :D
     

    matejdro

    Portal Pro
    May 28, 2010
    361
    16
    Home Country
    Slovenia Slovenia
    Re: [Ideas] - New plugin for Torrents

    Are you planning to add downloading ability? I have tried to add local tracker to MyTorrents, but it did not work and author did not respond, so i could not do it. So i'm looking for alternatives :)
     

    torrinha

    Portal Pro
    October 14, 2009
    55
    31
    Home Country
    Brazil Brazil
    Re: [Ideas] - New plugin for Torrents

    Hi matejdro!

    What do you mean by "downloading ability"?
    Right now, I can search and download torrents from ThePirateBay and KickAssTorrents...

    Is it what you want?

    If it's not, please explain....

    Thanks!
     

    matejdro

    Portal Pro
    May 28, 2010
    361
    16
    Home Country
    Slovenia Slovenia
    Re: [Ideas] - New plugin for Torrents

    Yes, that. But i also want ability to add custom private trackers.
     

    Users who are viewing this thread

    Top Bottom