[Alpha] - New MP-Torrent plugin (1 Viewer)

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 · Views: 310

seco

Development Group
  • Team MediaPortal
  • August 7, 2007
    1,575
    1,238
    Home Country
    Finland Finland
    Country flag
    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 · Views: 353
    • config-2.jpg
      config-2.jpg
      41.4 KB · Views: 340
    • plugin-1.jpg
      plugin-1.jpg
      96.7 KB · Views: 407
    • plugin-2.jpg
      plugin-2.jpg
      65.9 KB · Views: 376
    • plugin-3.jpg
      plugin-3.jpg
      87.6 KB · Views: 388

    Hedehede81

    Portal Member
    February 20, 2011
    18
    1
    41
    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

    Similar threads

    I just recently had an epiphany around QueryDisplayConfig w.r.t. how Windows deals with displays. The MS documentation uses the word 'display' to refer to both GDI-devices and the monitors themselves. There is also a zoo of different Id formats that refer to these things (adapters, displays, monitors, etc), and often no apparent way...
    I just recently had an epiphany around QueryDisplayConfig w.r.t. how Windows deals with displays. The MS documentation uses the...
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Replies
    4
    Views
    302
    This Plugin is made to overtake the lack of direct show video settings in Tvserver for hauppauge PVR card (tested with Colossus 2 and Pvr HD2 usb, but it could work with any pvr card)For each timeshift starting it setups : VideoProcAmp_Brightness VideoProcAmp_Contrast VideoProcAmp_Hue VideoProcAmp_Saturation VideoProcAmp_Sharpness...
    This Plugin is made to overtake the lack of direct show video settings in Tvserver for hauppauge PVR card (tested with Colossus 2...
    This Plugin is made to overtake the lack of direct show video settings in Tvserver for hauppauge PVR card (tested with Colossus 2...
    Replies
    0
    Views
    834
    Not really, I think repeat is optional so you can deactivate it. I thought it was disabled by default.
    Not really, I think repeat is optional so you can deactivate it. I thought it was disabled by default.
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Replies
    43
    Views
    2K
    MP1 MP2 MP2 DLNA status? DE
    What I meant is that we have a MP2 plugin called UPnP Render that can play media from DLNA servers if I remember correctly. I don't know the current state of the plugin though. That's why MP2 probably never will be certified. ;) Yes, that was also the idea, but it is a big job as all TV's, software etc. seems to not do everything...
    What I meant is that we have a MP2 plugin called UPnP Render that can play media from DLNA servers if I remember correctly. I don't...
    So I'm wondering what the state of play is with MP2 and DLNA functionality? When I started this post, I did see some posts...
    Replies
    10
    Views
    560
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me over the edge for sure.;)
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me...
    We are proud to present MediaPortal 2.3 MediaPortal 2.3 is a full-blown media center software that addresses the most common user...
    Replies
    4
    Views
    2K
    Top Bottom