Releases: MajdLHB/MajdSub
Fixing the file search
Release Note: Bug Fix for Season and Episode Patterns Matching
Version: 1.0.4
Release Date: August 26, 2024
Bug Fix: Improved Handling of Season and Episode Patterns
This update addresses an issue where the script incorrectly handled season and episode numbers, leading to errors in pattern matching for certain cases. Specifically, the script now correctly distinguishes between single-digit and two-digit season/episode numbers, with special handling for cases where the first digit is 0.
Changes:
Season Number Handling:
The script now correctly identifies and handles seasons with one-digit and two-digit numbers, including cases where the season number starts with 0.
Patterns are generated accordingly to match various formats (e.g., Season01, Season1, S01, S1).
Episode Number Handling:
Similar improvements were made for episode numbers, ensuring that episodes with one-digit and two-digit numbers are correctly identified.
The script now handles episode numbers starting with 0 and generates the appropriate patterns.
Example of the Changes:
For Seasons:
If the season is 2, the script now correctly generates patterns like Season02, S02, Season 02.
If the season is 12, the script correctly generates patterns like Season12, S12, Season 12.
For Episodes:
If the episode is 5, the script now generates patterns like E05, Episode 05.
If the episode is 15, the script generates patterns like E15, Episode 15.
These changes ensure that the script reliably finds and matches season and episode folders, even when the number formatting varies.
Note:
This release focuses solely on improving pattern matching for seasons and episodes. If you encounter any further issues or have suggestions for enhancements, please report them in the issue tracker.
Thank you for using MajdSub!
1.0.3
Full Changelog: 1.0...1.0.1
MAJDSUB 1.0
Watch the video tutorial.
Instructions for Setting Up and Using MajdSub V1.0
Setup Instructions:
-
Launch the Application:
- When you start MajdSub V1.0,, open the Set up window.
-
Configure the Series Folder:
- Series Folder: This is where your series are stored. Browse to the correct folder where your series are located.
- Example:
C:/Users/majd1/OneDrive/Desktop/MajdSub/YourSeriesFolder
.
-
Set the VLC Path:
- VLC Path: Browse to the location where VLC Media Player is installed on your computer. Typically, it’s in:
C:/Program Files/VideoLAN/VLC/vlc.exe
- VLC Path: Browse to the location where VLC Media Player is installed on your computer. Typically, it’s in:
-
OpenSubtitles Account Details:
- OpenSubtitle Username: Enter your OpenSubtitles username.
- OpenSubtitle Password: Enter your OpenSubtitles password.
- OpenSubtitle API Key: Input your API key (by default it will use my API key). This is required to interact with the OpenSubtitles API.
-
VLC HTTP Interface Configuration:
- VLC HTTP Password: Enter the password you set up for the VLC HTTP interface.
- VLC HTTP Port: The default port is
8080
. Make sure this matches the port set in VLC's HTTP interface. - VLC HTTP Host: Typically, this should be
localhost
unless you are connecting to VLC on another machine.
-
Save and Login:
- After entering all the required information, click Save to store the configuration.
- Click Login to authenticate with the OpenSubtitles API.
Using the Main Interface:
-
Series Information:
- Series Name: Enter the name of the series you want to watch.
- Season Number: Enter the season number.
- Episode Number: Enter the episode number.
- Time Shift: If you need to adjust the timing of the subtitles, enter the desired time shift in seconds.
- Language (lang): Set the subtitle language code (e.g.,
Ar
for Arabic).
-
Download Subtitles:
- Download Sub: Downloads the subtitle for the current episode with the settings you provided.
- Download Next: Downloads the subtitle for the next episode and prepares it for playback.
- NextSub: Downloads the next available subtitle and adds it directly to VLC for viewing.
-
Play Episode:
- Play: Launches VLC in fullscreen mode with the current episode and automatically loads the subtitle.
-
Update Episode Information:
- Update: Updates the information about the episode you will watch. This is useful if you have changed the episode details.
-
Redownload Subtitles:
- Redownload subs: Re-downloads the subtitle for the current episode with the same settings in case something went wrong or if you need to refresh the subtitle.
-
Show Subtitles:
- Show Subs: This button lists the available subtitles for the episode. It does not download them; it's just for viewing what is available.
Additional Notes:
- Movie Support: Currently, MajdSub V1.0 does not support movies. This feature will be added soon.
- Functionality: All buttons on the interface are functional and work as described.
Summary of Button Functions:
- Set up: Configure the paths and API details for your series, VLC, and OpenSubtitles.
- Save: Saves your configuration settings.
- Login: Logs into your OpenSubtitles account.
- Update: Updates the series, season, and episode information.
- Play: Plays the current episode in VLC with the subtitles.
- Download Sub: Downloads subtitles for the current episode.
- Download Next: Downloads subtitles for the next episode.
- NextSub: Downloads the next available subtitle and adds it to VLC.
- Redownload Subs: Re-downloads the current subtitle.
- Show Subs: Displays a list of available subtitles for the episode.
This should cover all you need to know to set up and use MajdSub V1.0!
1.0.2: Update Script.py
Full Changelog: 1.0...1.0.1
MAJDSUB 1.0
Note: Please press the update button twice until we fix it
Watch the video tutorial.
Instructions for Setting Up and Using MajdSub V1.0
Setup Instructions:
-
Launch the Application:
- When you start MajdSub V1.0,, open the Set up window.
-
Configure the Series Folder:
- Series Folder: This is where your series are stored. Browse to the correct folder where your series are located.
- Example:
C:/Users/majd1/OneDrive/Desktop/MajdSub/YourSeriesFolder
.
-
Set the VLC Path:
- VLC Path: Browse to the location where VLC Media Player is installed on your computer. Typically, it’s in:
C:/Program Files/VideoLAN/VLC/vlc.exe
- VLC Path: Browse to the location where VLC Media Player is installed on your computer. Typically, it’s in:
-
OpenSubtitles Account Details:
- OpenSubtitle Username: Enter your OpenSubtitles username.
- OpenSubtitle Password: Enter your OpenSubtitles password.
- OpenSubtitle API Key: Input your API key (by default it will use my API key). This is required to interact with the OpenSubtitles API.
-
VLC HTTP Interface Configuration:
- VLC HTTP Password: Enter the password you set up for the VLC HTTP interface.
- VLC HTTP Port: The default port is
8080
. Make sure this matches the port set in VLC's HTTP interface. - VLC HTTP Host: Typically, this should be
localhost
unless you are connecting to VLC on another machine.
-
Save and Login:
- After entering all the required information, click Save to store the configuration.
- Click Login to authenticate with the OpenSubtitles API.
Using the Main Interface:
-
Series Information:
- Series Name: Enter the name of the series you want to watch.
- Season Number: Enter the season number.
- Episode Number: Enter the episode number.
- Time Shift: If you need to adjust the timing of the subtitles, enter the desired time shift in seconds.
- Language (lang): Set the subtitle language code (e.g.,
Ar
for Arabic).
-
Download Subtitles:
- Download Sub: Downloads the subtitle for the current episode with the settings you provided.
- Download Next: Downloads the subtitle for the next episode and prepares it for playback.
- NextSub: Downloads the next available subtitle and adds it directly to VLC for viewing.
-
Play Episode:
- Play: Launches VLC in fullscreen mode with the current episode and automatically loads the subtitle.
-
Update Episode Information:
- Update: Updates the information about the episode you will watch. This is useful if you have changed the episode details.
-
Redownload Subtitles:
- Redownload subs: Re-downloads the subtitle for the current episode with the same settings in case something went wrong or if you need to refresh the subtitle.
-
Show Subtitles:
- Show Subs: This button lists the available subtitles for the episode. It does not download them; it's just for viewing what is available.
Additional Notes:
- Movie Support: Currently, MajdSub V1.0 does not support movies. This feature will be added soon.
- Functionality: All buttons on the interface are functional and work as described.
Summary of Button Functions:
- Set up: Configure the paths and API details for your series, VLC, and OpenSubtitles.
- Save: Saves your configuration settings.
- Login: Logs into your OpenSubtitles account.
- Update: Updates the series, season, and episode information.
- Play: Plays the current episode in VLC with the subtitles.
- Download Sub: Downloads subtitles for the current episode.
- Download Next: Downloads subtitles for the next episode.
- NextSub: Downloads the next available subtitle and adds it to VLC.
- Redownload Subs: Re-downloads the current subtitle.
- Show Subs: Displays a list of available subtitles for the episode.
This should cover all you need to know to set up and use MajdSub V1.0!
MajdSub - V1.0
Full Changelog: 1.0...1.0.1
MAJDSUB 1.0
Watch the video tutorial.
Instructions for Setting Up and Using MajdSub V1.0
Setup Instructions:
-
Launch the Application:
- When you start MajdSub V1.0,, open the Set up window.
-
Configure the Series Folder:
- Series Folder: This is where your series are stored. Browse to the correct folder where your series are located.
- Example:
C:/Users/majd1/OneDrive/Desktop/MajdSub/YourSeriesFolder
.
-
Set the VLC Path:
- VLC Path: Browse to the location where VLC Media Player is installed on your computer. Typically, it’s in:
C:/Program Files/VideoLAN/VLC/vlc.exe
- VLC Path: Browse to the location where VLC Media Player is installed on your computer. Typically, it’s in:
-
OpenSubtitles Account Details:
- OpenSubtitle Username: Enter your OpenSubtitles username.
- OpenSubtitle Password: Enter your OpenSubtitles password.
- OpenSubtitle API Key: Input your API key (by default it will use my API key). This is required to interact with the OpenSubtitles API.
-
VLC HTTP Interface Configuration:
- VLC HTTP Password: Enter the password you set up for the VLC HTTP interface.
- VLC HTTP Port: The default port is
8080
. Make sure this matches the port set in VLC's HTTP interface. - VLC HTTP Host: Typically, this should be
localhost
unless you are connecting to VLC on another machine.
-
Save and Login:
- After entering all the required information, click Save to store the configuration.
- Click Login to authenticate with the OpenSubtitles API.
Using the Main Interface:
-
Series Information:
- Series Name: Enter the name of the series you want to watch.
- Season Number: Enter the season number.
- Episode Number: Enter the episode number.
- Time Shift: If you need to adjust the timing of the subtitles, enter the desired time shift in seconds.
- Language (lang): Set the subtitle language code (e.g.,
Ar
for Arabic).
-
Download Subtitles:
- Download Sub: Downloads the subtitle for the current episode with the settings you provided.
- Download Next: Downloads the subtitle for the next episode and prepares it for playback.
- NextSub: Downloads the next available subtitle and adds it directly to VLC for viewing.
-
Play Episode:
- Play: Launches VLC in fullscreen mode with the current episode and automatically loads the subtitle.
-
Update Episode Information:
- Update: Updates the information about the episode you will watch. This is useful if you have changed the episode details.
-
Redownload Subtitles:
- Redownload subs: Re-downloads the subtitle for the current episode with the same settings in case something went wrong or if you need to refresh the subtitle.
-
Show Subtitles:
- Show Subs: This button lists the available subtitles for the episode. It does not download them; it's just for viewing what is available.
Additional Notes:
- Movie Support: Currently, MajdSub V1.0 does not support movies. This feature will be added soon.
- Functionality: All buttons on the interface are functional and work as described.
Summary of Button Functions:
- Set up: Configure the paths and API details for your series, VLC, and OpenSubtitles.
- Save: Saves your configuration settings.
- Login: Logs into your OpenSubtitles account.
- Update: Updates the series, season, and episode information.
- Play: Plays the current episode in VLC with the subtitles.
- Download Sub: Downloads subtitles for the current episode.
- Download Next: Downloads subtitles for the next episode.
- NextSub: Downloads the next available subtitle and adds it to VLC.
- Redownload Subs: Re-downloads the current subtitle.
- Show Subs: Displays a list of available subtitles for the episode.
This should cover all you need to know to set up and use MajdSub V1.0!
MajdSub - V1.0 Beta
A Python script that integrates OpenSubtitle and Maze-TV APIs to fetch subtitles in any language (and encode them in UFT-8) and episode counts, manages local series files, and controls VLC for seamless Fullscreen playback with subtitles.
The update button: to update the information about the episode you will watch (The movies will be supported soon)
The play button: to play the current episode at fullsecreen in vlc with subtitle
Redownload sub button to redownload the subtitle with the same setting
The next subtitle button: to download the next sub and add it to Vlc directly
The show subs button: just to see availble subs.
- No support for movies yet.
Full Changelog: https://github.com/MajdLHB/MajdSub/commits/1.0