Announcement

Collapse
No announcement yet.

Brain Surgery and Other Glorious Adventures in Hacking The Episode Analyser

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by 0xFeedBeef View Post

    Speaking from the practicalities, you only would ever need to analyse a single episode in rare edge cases, most of the time it's a colossal waste of time, and analysing a first or a last episode is more than sufficient to get the gist of the series' parameters...
    Would analysing a single episode be needed if there were forced subtitles present that were not on other episodes? Ran into that a lot with Netflix. I know with most content on Amazon the subs are burned in so it's a moot point.

    Comment


      #17
      Originally posted by MrGrackle View Post

      Would analysing a single episode be needed if there were forced subtitles present that were not on other episodes? Ran into that a lot with Netflix. I know with most content on Amazon the subs are burned in so it's a moot point.
      So far as I gather, if the relevant box is checked in the settings, 'Fab always fabulously downloads forces subs for your selected languages, at least that's been my experience (cf. OnceHasBeenStream, for example)

      Comment


        #18
        Originally posted by Sebastian001 View Post

        Basically, this problem with the bitrates B1 B2 B3 bothers me as jpp72 has nicely described it...

        Was meant to add in in the earlier reply, from experimenting, 'Fab picks bitrate based on the bitrate tag in the manifest file, not the actual bitrate presented to the user in the dropdown box. So if you picked a bitrate that's tagged with the maximum bitrate budget in the manifest, the rest of the season is added with the same maximum bitrate budget tag, if that explanation makes sense.

        Comment


          #19
          Originally posted by 0xFeedBeef View Post

          So far as I gather, if the relevant box is checked in the settings, 'Fab always fabulously downloads forces subs for your selected languages, at least that's been my experience (cf. OnceHasBeenStream, for example)
          Never had it auto-download forced subs unless I manually select them. Yes the box is checked. Problem is, each service has a different description. En, Eng, English-US.

          Comment


            #20
            I'll need to check on this later (but I download my subs in a "native" format, as I don't like formatting data to be lost)

            Comment


              #21
              Originally posted by MrGrackle View Post

              Never had it auto-download forced subs unless I manually select them. Yes the box is checked. Problem is, each service has a different description. En, Eng, English-US.
              Because StreamFab now uses a full featured Chromium browser, you can install extensions.

              I have installed BitWarden and ViolentMonkey. In ViolentMonkey, i installed Amazon Subtitle downloader and Netflix Subtitle downloader

              Click image for larger version

Name:	image.png
Views:	148
Size:	134.4 KB
ID:	453005
              So you can download external subs from within StreamFab and all modern players can use them or you remux them into your files manually

              Comment


                #22
                Originally posted by jpp72 View Post

                Because StreamFab now uses a full featured Chromium browser, you can install extensions.

                I have installed BitWarden and ViolentMonkey. In ViolentMonkey, i installed Amazon Subtitle downloader and Netflix Subtitle downloader

                So you can download external subs from within StreamFab and all modern players can use them or you remux them into your files manually
                Good to know. Often times though I might realize I am missing the subs months later as I watch the content. Knowing I could easily double back is a plus.
                At least with knowing up front if forced subs are offered saves a lot of time and headache later on.

                Comment


                  #23
                  Originally posted by jpp72 View Post

                  Because StreamFab now uses a full featured Chromium browser, you can install extensions.

                  I have installed BitWarden and ViolentMonkey. In ViolentMonkey, i installed Amazon Subtitle downloader and Netflix Subtitle downloader

                  So you can download external subs from within StreamFab and all modern players can use them or you remux them into your files manually

                  ... and after editing the Amazon subs downloader script to make it stop bastardising pristine TTML into SRT and appending stupid things to title (as well as making it recognise [cc] subs properly), it works rater well. Kudos on the legwork!

                  edits, if you want a copy:
                  Code:
                  --- original.js    2024-11-05 23:58:34.486865100 +0000
                  +++ edited.js    2024-11-06 00:01:47.064393295 +0000
                  @@ -206,18 +206,19 @@
                       onload: function(resp) {
                   
                       progressBar.increment();
                  -    var srt = xmlToSrt(resp.responseText, lang);
                  -    if(srt === null) {
                  -      srt = resp.responseText;
                  -      title = title.replace(/\.[^\.]+$/, '.ttml2');
                  -    }
                  +//    var srt = xmlToSrt(resp.responseText, lang);
                  +//    if(srt === null) {
                  +//      srt = resp.responseText;
                  +//      title = title.replace(/\.[^\.]+$/, '.ttml2');
                  +//    }
                  +
                       if(downloadVars) {
                  -      downloadVars.zip.file(title, srt);
                  +      downloadVars.zip.file(title, resp.responseText);
                         --downloadVars.subCounter;
                         if((downloadVars.subCounter|downloadVars.infoCounter) === 0)
                           downloadVars.zip.generateAsync({type:"blob"})
                             .then(function(content) {
                  -            saveAs(content, sanitizeTitle(downloadVars.title) + '.zip');
                  +            saveAs(content, sanitizeTitle(downloadVars.title) + '.subs.zip');
                               progressBar.destroy();
                             });
                       }
                  @@ -269,7 +270,7 @@
                         title += '.' + epInfo.title;
                       }
                       title = sanitizeTitle(title);
                  -    title += '.WEBRip.Amazon.';
                  +//    title += '.WEBRip.Amazon.';
                       var languages = new Set();
                   
                       var forced = info.forcedNarratives || [];
                  @@ -282,7 +283,7 @@
                       subs.forEach(function(subInfo) {
                         let lang = subInfo.languageCode;
                         if(subInfo.type === 'subtitle' || subInfo.type === 'subtitle') {}
                  -      else if(subInfo.type === 'shd')
                  +      else if(subInfo.type === 'sdh')
                           lang += '[cc]';
                         else
                           lang += `[${subInfo.type}]`;
                  @@ -297,7 +298,7 @@
                         languages.add(lang);
                         ++downloadVars.subCounter;
                         progressBar.incrementMax();
                  -      downloadSubs(subInfo.url, title + lang + '.srt', downloadVars, lang);
                  +      downloadSubs(subInfo.url, title + '.' + lang + '.ttml', downloadVars, lang);
                       });
                       }
                       catch(e) {
                  Last edited by 0xFeedBeef; 11-06-2024, 12:03 AM.

                  Comment

                  Working...
                  X