SubtitleDownloader (3 Viewers)

samo_yea

Portal Pro
November 12, 2007
54
27
Home Country
Italy Italy
Re: SubtitleDownloader 2.3

Hi all French users out there!
By a user request I have made a first beta version for the site seriessub.com.
The subtitles are mostly packed in seasons, so the search process is a slow, because I must download all the zip files in the series folder for identify the right episode/s.

This is a first beta version and is I need some people to test if the dll is working for you. So feedback is welcome!!

P.S.: I just realized that the site have not only french but also english subs identified by two letters in the name of the file (french = VF, english = VO (O means original??), but this is not unique for all the subs. So, the identification of the language is not implemented yet, is on my todo list ;)

Samo
 

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Re: SubtitleDownloader 2.3

    Hi,

    I have made test :) i use subcentral :p
    So, it doesn't work 100% for the match, i try to explain :
    For ex :
    warehouse.13.s02e02.720p.hdtv.x264-ctu it find all sub of 201 to 204, it didn't find 205 to 207 present on website.
    warehouse.13.s02e03.beyond.our.control-sitv it find all sub of 201 to 204, it didn't find 205 to 207 present on website.
    warehouse.13.s02e04.720p.hdtv.x264-ctu it find all version for 204 :)

    And on 205, 206 and 207 it didn't find subtitle lol
    warehouse.13.s02e05.720p.hdtv.x264-immerse, warehouse.13.s02e06.720p.hdtv.x264-immerse and Warehouse.13.S02E07.720p.WEB-DL.DD5.1.H.264-POD

    I have test on :
    sanctuary.us.s03e04.720p.hdtv.x264-ctu.mkv -> no result found (even if sub are present in website) Sanctuary.304.VOVF.P-SG.zip

    Can i get some logs for you ?

    And yes :) VF for version French and VO for version original :)

    Thanks,
    Seb.
     

    samo_yea

    Portal Pro
    November 12, 2007
    54
    27
    Home Country
    Italy Italy
    Re: SubtitleDownloader 2.3

    Hi! Thanks for testing! :D

    I have found why it didn't find some subtitles (ex. s2e05): the subs are packed in subfolders (inside the zip). I will fix this in few days.

    For the problem, that if you search s2e02 it find all subs of s2e01 to s2e04 is a known problem. I have to implement a beter regex to select only the desideret episode. Now it simply verify if the episode number is present in the name of the file. (in the example 2 is present in all files, because is also the season number :D ) It's not that simple, because some series have packet all the episode of one season in one zip. This is also why the search is soo slow.

    Todo for the next version:
    1) correct the subfolders inside the zip problem
    2) implement a better regex for episode retrieving
    3) identification of the language

    See you in few days.

    Samo


    Hi,

    I have made test :) i use subcentral :p
    So, it doesn't work 100% for the match, i try to explain :
    For ex :
    warehouse.13.s02e02.720p.hdtv.x264-ctu it find all sub of 201 to 204, it didn't find 205 to 207 present on website.
    warehouse.13.s02e03.beyond.our.control-sitv it find all sub of 201 to 204, it didn't find 205 to 207 present on website.
    warehouse.13.s02e04.720p.hdtv.x264-ctu it find all version for 204 :)

    And on 205, 206 and 207 it didn't find subtitle lol
    warehouse.13.s02e05.720p.hdtv.x264-immerse, warehouse.13.s02e06.720p.hdtv.x264-immerse and Warehouse.13.S02E07.720p.WEB-DL.DD5.1.H.264-POD

    I have test on :
    sanctuary.us.s03e04.720p.hdtv.x264-ctu.mkv -> no result found (even if sub are present in website) Sanctuary.304.VOVF.P-SG.zip

    Can i get some logs for you ?

    And yes :) VF for version French and VO for version original :)

    Thanks,
    Seb.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Re: SubtitleDownloader 2.3

    Great :)

    Thanks Samo for explanation :) and take your time :) it's really great that you made this.
    Cheers,
    Seb.
     

    samo_yea

    Portal Pro
    November 12, 2007
    54
    27
    Home Country
    Italy Italy
    Re: SubtitleDownloader 2.3

    Hi! Here you are a new version for seriessub.com.
    What's new:
    Fixed the subfolders inside the zip problem
    implemented a better regex for episode retrieving
    implemented the identification of the language

    Like for the previous version I have tested only with few series/episode; testers needed!


    @ seco: Your function "SubtitleDownloader.Util.FileUtils.ExtractFilesFromZipOrRarFile(String archiveFile)" don't return any file, if the files are stored in subfolders inside the .zip. Can you take a look at this or it's by design that your function in that case don't return anything? P.s.: I have resolved using the method ExtractArchive(string dirctory) of the class SevenZip.SevenZipExtractor. Thanks


    Samo
     

    Attachments

    • SeriesSub_v1.0.zip
      7.8 KB

    Nephilim

    Extension Developer
    February 8, 2007
    805
    499
    Home Country
    Italy Italy
    Re: SubtitleDownloader 2.3

    Hi to all the italians out there!

    I have implemented another subtitleDownloader, this time for the site Subsfactory.it - Sottotitoli per Passione - I sottotitoli italiani delle migliori serie tv! and I have also upgraded the ItalianSubs downloader for the SubtitleDownloader 2.3 (mainly the configuration file have to be in the same folder as the dll).


    Instalation instructions: just extract the files to [RootDirectory]\SubtitleDownloaders where [RootDirectory] is the directory where SubtitleDownloader.dll is located in (see first post of this topic). For the ItalianSubs you have to modify the ItalianSubs.xml with your username and password for italiansubs.net

    N.B.: If you have already used my previous version of italiansubs (SubtitleItasa.dll) you have to delete it and don't forget to delete the ItalianSubsSettings.xml from c:\ also.

    Enjoy!

    Samo

    Hi Samo,
    i've a problem. SubCentral does not find anything from these two italian subtitle providers.

    Bye,
    Nephilim
     

    samo_yea

    Portal Pro
    November 12, 2007
    54
    27
    Home Country
    Italy Italy
    Re: SubtitleDownloader 2.3

    Hi to all the italians out there!

    I have implemented another subtitleDownloader, this time for the site Subsfactory.it - Sottotitoli per Passione - I sottotitoli italiani delle migliori serie tv! and I have also upgraded the ItalianSubs downloader for the SubtitleDownloader 2.3 (mainly the configuration file have to be in the same folder as the dll).


    Instalation instructions: just extract the files to [RootDirectory]\SubtitleDownloaders where [RootDirectory] is the directory where SubtitleDownloader.dll is located in (see first post of this topic). For the ItalianSubs you have to modify the ItalianSubs.xml with your username and password for italiansubs.net

    N.B.: If you have already used my previous version of italiansubs (SubtitleItasa.dll) you have to delete it and don't forget to delete the ItalianSubsSettings.xml from c:\ also.

    Enjoy!

    Samo

    Hi Samo,
    i've a problem. SubCentral does not find anything from these two italian subtitle providers.

    Bye,
    Nephilim


    You are right, they don't work now. I will take a look whats wrong.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Re: SubtitleDownloader 2.3

    Hi! Here you are a new version for seriessub.com.
    What's new:
    Fixed the subfolders inside the zip problem
    implemented a better regex for episode retrieving
    implemented the identification of the language

    Like for the previous version I have tested only with few series/episode; testers needed!


    @ seco: Your function "SubtitleDownloader.Util.FileUtils.ExtractFilesFromZipOrRarFile(String archiveFile)" don't return any file, if the files are stored in subfolders inside the .zip. Can you take a look at this or it's by design that your function in that case don't return anything? P.s.: I have resolved using the method ExtractArchive(string dirctory) of the class SevenZip.SevenZipExtractor. Thanks


    Samo

    Hi :)

    Just testing :) It works real great :) it find all subs that match serie number like 203 :)
    About identifiation of the language, it didn't work 100%.
    This is example of serie name file result :
    Warehouse.13.S02E07.720p.WEB-DL.DD5.1.H.264-POD.mkv : it find .EN (for English like VO) and .FR
    warehouse.13.s02e02.720p.hdtv.x264-ctu.mkv : if find .VF .VO
    warehouse.13.s02e03.beyond.our.control-sitv.mkv : if find only VF :)
    sanctuary.us.s03e01.720p.hdtv.x264-immerse.mkv : it find .FR .EN

    But it's working really good :) because even if the detection was not 100%, we have subs and we can choose the right :)
    Thanks,
    Seb.
     

    Users who are viewing this thread

    Top Bottom