Subtitles Downloader (teaser). (1 Viewer)

Status
Not open for further replies.

gibman

Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    Hi!

    Been working on seco's nice Subtitles Downloader library.

    Check out the screenies.

    I will post some testable bins soon.

    seco : have you planned to open source the code ?


    edit:
    uploaded vers. 0.2 of my changes, based on svn rev. 994. (sources included).

    0.2: index error fixed, causing the wrong subtitle to be downloaded based on what the user selected.

    todo / known issues:
    1) todo: some progress GUI indication is missing telling the user that subtitle provider 1 of 4 is currently downloading etc.
    1) issue: seco : multiple discs movies does not seem to work. The subtitledownloader always returns subs for the 1st disc only.

    The subtitleretriever class is self contained more or less, except for the language resources which reside in the movingpictures xml file.
    Also the settings are currently based on moving pics DB.

    These could be easily moved making is possible to have this working in its own assembly which mov pics and tv series plugins both could reference.

    It uses basic MP gui stuff, so it should work with any plugin.

    /gibman
     

    Attachments

    • config.jpg
      config.jpg
      84.6 KB
    • menu.jpg
      menu.jpg
      139.4 KB

    seco

    Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    Nice job gibman :)

    Actually I implemented this to Moving Pictures too, but I haven't yet finished it because I started refactoring it to be more generic.

    Which leads me to question, how generic is your implementation? I'm asking this because we could probably use almost the same code in both Moving Pictures and TVSeries. The TVSeries implementation which I already made is at the moment using TVSeries custom UI components and in my Moving Pictures implementation I started refactoring it to use MP default UI components, so the same code could be used in both.

    I'll try to move SubtitleDownloader to Google Code when I'll finish the 1.0 version.
     

    Henkie Flits

    Portal Pro
    November 1, 2008
    210
    44
    Home Country
    Netherlands Netherlands
    Awesome Gibman. It looks wonderful: simple but very effective. I have been looking for something like this for a long time!
    Can't wait!
     

    Zinu

    Portal Pro
    February 28, 2008
    650
    23
    Home Country
    Netherlands Netherlands
    Great work!

    However, I see bierdopje.nl as a provider, but that site only provides subtitles for TV series, not for movies?
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    1st post edited.

    uploaded vers. 0.1 of my changes, based on svn rev. 994. (sources included).

    lets hope I didnt forget any files :)

    /gibman
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    The lang resource file goes here: (only relevant if u need the danish language).

    C:\ProgramData\Team MediaPortal\MediaPortal\language\MovingPictures\

    The rest of the files in the archive should just be copied to the installation folder of MP.
    Exept for the source and language folders :)

    Once this is done, start mp config and check out the new subtitles section there.
    Make sure it's setup to ur needs - they are self explaining-.

    I found a small bug, new vers. uploaded.

    /gibman


    1st post edited.

    uploaded vers. 0.1 of my changes, based on svn rev. 994. (sources included).

    lets hope I didnt forget any files :)

    /gibman

    Any Quick precedure for integrating it into Moving Pictures!?
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,726
    1,183
    Alingsås
    Home Country
    Sweden Sweden
    Would it be possible to detect if subtitles are available locally already for the selected file? And if so, display a logo, like MP TV-Series can?

    Emph
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom