Automatic subtitle downloading (1 Viewer)

How should an automatic subtitle downloader work?


  • Total voters
    10

yoavain

Extension Dev
  • Premium Supporter
  • May 24, 2009
    427
    467
    42
    Israel Israel
    Country flag
    • Thread starter
    • Moderator
    • #1
    Hi,

    The number 1 feature that I'm missing in SubCentral is an automatic subtitle downloading. I know it's in the issue list, and I know there were several threads about it. However, no one implemented it, afaik...

    So... I'm considering starting to work on this feature myself.

    The requirements are as follows:
    • It should use SubCentral (inc. its setting)
    • It should use MediaPortal databases for MovingPictures, MPTV-Series (maybe others as well)
    • It should download only exact matches
    • It should download first exact matches for every language configured.
    • It may keep track of item's age & item's last check, so that the next check will be according to that. For example, a new TV episode in the database (a week old) will be checked for subtitles every day, but a year old movie in the database will be checked only once a month.
    Before starting (if I decide to take this challenge;)) I wanted to raise one question.
    How should this automatic subtitle downloader work?
    As a process plugin, that runs once a day or upon restart, and searches for subtitle (according to the terms described above), or as a separate tool, that updates missing subtitles, by demand. Second option is a lot like MePo tools for clear art and logos.

    Please use the poll above.
    Thanks,
    Yoav
     

    seco

    Development Group
  • Team MediaPortal
  • August 7, 2007
    1,580
    1,236
    Finland Finland
    Country flag
    Hi,

    The number 1 feature that I'm missing in SubCentral is an automatic subtitle downloading. I know it's in the issue list, and I know there were several threads about it. However, no one implemented it, afaik...

    So... I'm considering starting to work on this feature myself.

    The requirements are as follows:
    • It should use SubCentral (inc. its setting)
    • It should use MediaPortal databases for MovingPictures, MPTV-Series (maybe others as well)
    • It should download only exact matches
    • It should download first exact matches for every language configured.
    • It may keep track of item's age & item's last check, so that the next check will be according to that. For example, a new TV episode in the database (a week old) will be checked for subtitles every day, but a year old movie in the database will be checked only once a month.
    Before starting (if I decide to take this challenge;)) I wanted to raise one question.
    How should this automatic subtitle downloader work?
    As a process plugin, that runs once a day or upon restart, and searches for subtitle (according to the terms described above), or as a separate tool, that updates missing subtitles, by demand. Second option is a lot like MePo tools for clear art and logos.

    Please use the poll above.
    Thanks,
    Yoav
    I made a proof-of-concept about this long time ago but I'm not sure if I have the source, I'll check tonight.

    Basically there is no need to make things compilicated, meaning a) no process plugin b) no external executable. However I understand that there would be some benefits making auto-downloading "external".

    The feature in SubCentral would be fairly simple but the major problem is that Retriever class which does all the magic has business logic and UI stuff mixed. The class is also huge. What I did in my PoC was that I

    a) changed Retriever so that it could be called anywhere from SubCentral (needs refactoring)
    b) modified TVSeries/Moving Pictures plugin providers to listen their media added events
    c) created manager class which calls Retriever when media added events are raised and pick 1st subtitle from (already properly sorted) search results

    All this was implemented in SubCentral. I'm happy to help you with design of this feature.
     

    yoavain

    Extension Dev
  • Premium Supporter
  • May 24, 2009
    427
    467
    42
    Israel Israel
    Country flag
    • Thread starter
    • Moderator
    • #3
    Hi,

    The number 1 feature that I'm missing in SubCentral is an automatic subtitle downloading. I know it's in the issue list, and I know there were several threads about it. However, no one implemented it, afaik...

    So... I'm considering starting to work on this feature myself.

    The requirements are as follows:
    • It should use SubCentral (inc. its setting)
    • It should use MediaPortal databases for MovingPictures, MPTV-Series (maybe others as well)
    • It should download only exact matches
    • It should download first exact matches for every language configured.
    • It may keep track of item's age & item's last check, so that the next check will be according to that. For example, a new TV episode in the database (a week old) will be checked for subtitles every day, but a year old movie in the database will be checked only once a month.
    Before starting (if I decide to take this challenge;)) I wanted to raise one question.
    How should this automatic subtitle downloader work?
    As a process plugin, that runs once a day or upon restart, and searches for subtitle (according to the terms described above), or as a separate tool, that updates missing subtitles, by demand. Second option is a lot like MePo tools for clear art and logos.

    Please use the poll above.
    Thanks,
    Yoav
    I made a proof-of-concept about this long time ago but I'm not sure if I have the source, I'll check tonight.

    Basically there is no need to make things compilicated, meaning a) no process plugin b) no external executable. However I understand that there would be some benefits making auto-downloading "external".

    The feature in SubCentral would be fairly simple but the major problem is that Retriever class which does all the magic has business logic and UI stuff mixed. The class is also huge. What I did in my PoC was that I

    a) changed Retriever so that it could be called anywhere from SubCentral (needs refactoring)
    b) modified TVSeries/Moving Pictures plugin providers to listen their media added events
    c) created manager class which calls Retriever when media added events are raised and pick 1st subtitle from (already properly sorted) search results

    All this was implemented in SubCentral. I'm happy to help you with design of this feature.
    Did you find the PoC code?
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    S TV-Server MP1 - Automatic search doesn't work Installation, configuration support 2
    vapourEyes Automatically Re-Tune Periodically Improvement Suggestions 1
    vapourEyes Automatically Tune to Strongest Duplicate Channel Improvement Suggestions 106
    W [solved] [FIXED] Survivor season 40 not automatically matching My TVSeries 1
    G Switch to new channel at begining of program automatically Feature Requests 0
    C How do I get MediaPortal to separate recording files by channel and month? General 2
    H MP1.21F video database scan, can it be scheduled to automatically run in background General Support 5
    Steve.Rayner61 Online Videos - Automatic Updates fails 'Automatic update disabled. Check your internet connection' OnlineVideos 10
    greybox 1.20 final does not update video duration automatically 1.20 10
    greybox 1.20 final does not update video duration automatically 1.20 Pre Release 1
    mickb Subtitles My TVSeries 4
    M.Hulot Blu-ray: Es werden nicht nur Forced Subtitles angezeigt Allgemeines Supportforum 1
    J How to change y position of subtitles General 2
    R [will not fix] [MP2-832] MP2.2.2 subtitles not shown for WTV files Submit: Bug Reports 7
    S Remote button to change audio and subtitle on / off General 10
    P [solved] ATSC subtitles not fixed yet? General 2
    E Swedish subtitles problem General 2
    ratata Someone stole my subtitles... General Support 0
    Dark Eyes Display subtitles on a separate display or device MediaPortal 1 Plugins 0
    R [solved] Command / Shortcut for changing subtitles or audio Archive 5
    K Multichannel audio and subtitles for TV not properly supported General Support 4
    S Display non english folder name, subtitle, etc. General 23
    S [solved] Movie SRT subtitle didn't display on client 2.2 Archive 18
    S [solved] Live TV subtitle issue if not using 100% font General 31
    D [solved] How to configure subtitle color in MP 2.2.1? General 5
    Similar threads

























    Top Bottom