SubtitleDownloader | Page 43

Discussion in 'SubCentral' started by seco, October 7, 2009.

  1. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,906
    Likes Received:
    713
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,229 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    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:


     
    • Like Like x 1
    • Thank You! Thank You! x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. seco
    • Team MediaPortal

    seco Development Group

    Joined:
    August 7, 2007
    Messages:
    1,579
    Likes Received:
    897
    Gender:
    Male
    Ratings:
    +1,234 / 4
    Home Country:
    Finland Finland
    Show System Specs
    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
     
    • Like Like x 2
  4. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,906
    Likes Received:
    713
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,229 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    That's sad but I'd go for it anyway.
    Looks like they used full page scrapping while another way exists.
     
    • Like Like x 1
  5. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,826
    Likes Received:
    790
    Location:
    Nuenen
    Ratings:
    +1,158 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    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?) ?
     
  6. barneh
    • Premium Supporter

    barneh MP Donator

    Joined:
    February 4, 2010
    Messages:
    242
    Likes Received:
    27
    Location:
    Malmö
    Ratings:
    +53 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Someone else experience a System.IO.PathTooLongException error when searching for sub?
     
  7. Marsovac

    Marsovac New Member

    Joined:
    October 14, 2015
    Messages:
    1
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +2 / 0
    Home Country:
    Croatia Croatia

    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.
     
    • Thank You! Thank You! x 1
    • Agree Agree x 1
  8. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,826
    Likes Received:
    790
    Location:
    Nuenen
    Ratings:
    +1,158 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    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 (Text):
    1.  
    2.   at SubtitleDownloader.Core.Subtitle..ctor(String id, String programName, String fileName, String languageCode)
    3.   at SubtitleDownloader.Implementations.Podnapisi.PodnapisiDownloader.Search(String baseUrl, SubtitleSearchQuery query)
    4.   at SubtitleDownloader.Implementations.Podnapisi.PodnapisiDownloader.SearchSubtitles(SearchQuery query)
    5.   at OnlineVideos.Subtitles.SubtitleHandler.setSubtitleText(VideoInfo video, ITrackingInfo it) in d:\MediaPortal Sources\mp-onlinevideos2\SiteUtilProjects\OnlineVideos.Sites.doskabouter\SubtitleHandler.cs:line 162
    6.   at OnlineVideos.Subtitles.SubtitleHandler.SafeSetSubtitleText(VideoInfo video, ITrackingInfo trackingInfo) in d:\MediaPortal Sources\mp-onlinevideos2\SiteUtilProjects\OnlineVideos.Sites.doskabouter\SubtitleHandler.cs:line 70
    7.  
    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
     
  9. hkjensen
    • Premium Supporter

    hkjensen MP Donator

    Joined:
    June 11, 2007
    Messages:
    164
    Likes Received:
    47
    Location:
    Copenhagen
    Ratings:
    +63 / 0
    Home Country:
    Denmark Denmark
  10. Swede

    Swede Portal Pro

    Joined:
    September 6, 2006
    Messages:
    489
    Likes Received:
    23
    Location:
    West Coust Archipelago
    Ratings:
    +25 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    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...
     
  11. te3hpurp
    • Premium Supporter

    te3hpurp Retired Team Member

    Joined:
    September 23, 2008
    Messages:
    904
    Likes Received:
    182
    Gender:
    Male
    Occupation:
    Senior Software Architect
    Location:
    Rovaniemi
    Ratings:
    +229 / 0
    Home Country:
    Finland Finland
    Show System Specs
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!