TV Option
This option can be selected while running the demux command.
The script will prompt the user once to gather media ids from mal,tmdb,imdb,etc. Then it will utilize that information to create multiple JSON. Each JSON corresponds to a different playlist or stream, and a different episode within a TV show.
Running Structure
Pick sources
Pick playlist => multiple possible per source
Extract files into subfolders
Program quits
Picking Playlist
Each Time you are prompted to pick playlist. All sources must have the same number of playlist
Not
It is possible to take advantage of running the program multiple times to create more advance use of multiple sources
splitplaylist argument
splitplaylist argument will process every stream longer then a selected minimum from every playlist selected, as a individual episode.
For a selection to be valid with the splitplaylist argument, the total count of streams must be the same for all sources.
Additionally the playlist streams will be sorted based on playlist number, and each stream must match in length
Example 1: Stream Count Validation
This passes the length test since both sources have the same number of streams
Example 2: Stream Count Validation
This fails the length test since both sources do not have the same number of streams
Example 3: Stream Length Validation
Expanding on Example 1
Here the first and second streams have the same length, along with the final streams assuming all the streams in between also have the same length then this selection will be valid.
If not it will fail
Complex Selections
Multiple sources can be selected with this argument. However depending on how complex your desired selection of sources it may be required to run the program multiple times. You can always restore,and continue from a previous run in TV mode
Tips on sorting Episodes
Ideally the source will have a single playlist with every stream, this is very common with anime.
--splitplaylist argument can be used in those cases
the --keepocr argument can also help with sorting episodes, as sometimes the last image for a subtitle will have information about the current episode
Restoring Data
If you want to continue a past Demux Process Selecting the TV option provides a prompt to restore old data
If no valid folders are found, the program will create a new one.
Folder Structure
Home Folder
Inside Directory 1
Inside ahmybudda folder
Output_logs
SubImages folder
Last updated