SubtitleDownloader (1 Viewer)

Edalex

Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,922
    1,228
    Saratov
    Russian Federation Russian Federation
    Country flag
    I would like to help to anyone with experience in developing subtitle engine to make addci7ed engine at last.
    I will provide this developer with useful links how to get data from site. Wireshark gave me some interesting info :cautious:
     

    seco

    Development Group
  • Team MediaPortal
  • August 7, 2007
    1,580
    1,236
    Finland Finland
    Country flag
    I would like to help to anyone with experience in developing subtitle engine to make addci7ed engine at last.
    I will provide this developer with useful links how to get data from site. Wireshark gave me some interesting info :cautious:
    In the past addic7ed admins requested to remove support from XBMC subtitles plugin since they do not want to external applications to access their site.

    Of course nothing stops you from creating and using addic7ed downloader for SubtitleDownloader, but I just want to make this clear
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,503
    1,703
    Nuenen
    Netherlands Netherlands
    Country flag
    I have a bit of a question regarding subtitledownloader/podnapisi.
    Didn't investigate very thorough, so it could be I'm missing something.

    The thing is, when I fill title ("Mission: Impossible – Rogue Nation") and year (2015) (url fetched: http://www.podnapisi.net/ppodnapisi...sion: Impossible – Rogue Nation&sY=2015&sJ=23) it results in no subtitles found, but when I manually edit the url to include only the word "Rogue" (full url: http://www.podnapisi.net/ppodnapisi/search?sXML=1&sK=Rogue&sY=2015&sJ=23) it returns 1 result which is exactly the movie which I was looking for.

    Is this some issue with podnapisi, or unexpected url encoding, or in general multiple words (should/could they be enclosed in quotes?) ?
     

    barneh

    MP Donator
  • Premium Supporter
  • February 4, 2010
    244
    52
    Malmö
    Sweden Sweden
    Country flag
    Someone else experience a System.IO.PathTooLongException error when searching for sub?
     

    Marsovac

    New Member
    October 14, 2015
    1
    2
    Croatia Croatia
    The thing is, when I fill title ("Mission: Impossible – Rogue Nation")

    That url seems to work correctly if you replace the long – with a standard -.

    The real problem is with the exceptions that happen when getting back results. For example this is one of the results returned for "Kingsman: The Secret Service"

    Since the podnapisi downloader will try to split the releases on a space (" ") it will fail miserably getting hudnreds of releases and exceptioning out.
    The problem is that podnapisi will not put a dot (.) instead of spaces in each release but it does it randomly, sometimes yes, sometimes no and subtitle downloader tries to split releases randomly.

    The problem is you get no results but an exception. If the exception was caught and the fallback was to create only one release if splitting releases failed it would still be ok.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,503
    1,703
    Nuenen
    Netherlands Netherlands
    Country flag
    Anyone having trouble with podnapisi?

    If I search for The Martian, I see a redirect to https, and afterwards an exception: File name cannot be null or empty!
    Stacktrace:
    Code:
      at SubtitleDownloader.Core.Subtitle..ctor(String id, String programName, String fileName, String languageCode)
      at SubtitleDownloader.Implementations.Podnapisi.PodnapisiDownloader.Search(String baseUrl, SubtitleSearchQuery query)
      at SubtitleDownloader.Implementations.Podnapisi.PodnapisiDownloader.SearchSubtitles(SearchQuery query)
      at OnlineVideos.Subtitles.SubtitleHandler.setSubtitleText(VideoInfo video, ITrackingInfo it) in d:\MediaPortal Sources\mp-onlinevideos2\SiteUtilProjects\OnlineVideos.Sites.doskabouter\SubtitleHandler.cs:line 162
      at OnlineVideos.Subtitles.SubtitleHandler.SafeSetSubtitleText(VideoInfo video, ITrackingInfo trackingInfo) in d:\MediaPortal Sources\mp-onlinevideos2\SiteUtilProjects\OnlineVideos.Sites.doskabouter\SubtitleHandler.cs:line 70
    The url's fetched are:
    1: http://www.podnapisi.net/ppodnapisi/search?sXML=1&sK=The Martian&sY=2015&sJ=23
    2: http://www.podnapisi.net/ppodnapisi/search?sXML=1&sK=The Martian&sY=2015&sJ=2

    SearchQuery:
    Languagecodes: 'dut','eng'
    Query: "The Martian"
    Year: 2015
     

    Swede

    Portal Pro
    September 6, 2006
    489
    47
    West Coast Archipelago
    Sweden Sweden
    Country flag
    Please fix so that when searching for i.e. Marvel's, it also searches for Marvels without apostrophe. It's annoying to have to remove the apostrophe e v e r y time...
     

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

    OP Similar threads Forum Replies Date
    doskabouter [Question] SubtitleDownloader Developer Discussions 56
    Similar threads

    Top Bottom