Giter VIP home page Giter VIP logo

mbpconv's Introduction

MBPConv

MBPConv converts MovieBoxPro downloaded media into a clean readable format made ready for use with a program like Plex or Jellyfin.

This project has always been made for my personal use, which will explain the lack of CLI support or a general "program" feel, but it doesn't hurt to make it available for whoever may come across this.

This project is also highly based off of having access to an iPhone thats been jailbroken/TrollStore'd because it requires the MovieBoxPro third party application and Filza. You can determine if your device is compatible by checking out the jailbreak wiki.

Its entirely possible this will work with Android devices, but I don't have access to one and don't plan on getting one so you'll have to mess around yourself.

MBPConv works by reading through the Download.db file location within the application documents directory of MovieBoxPro, and gathering the information required to format media files into a readable format. It also supports subtitles, which require the Subtitle_Cache directory to be copied over along with the Download.db.

Both Download.db and Subtitle_Cache must be in the same folder as all the media you have downloaded, downloaded media can be found within the MBDownload directory within the application documents directory.

Using this script, it would turn the file downloaded from MovieBoxPro, "Man of Steel_1604_1080p.mp4" into "Man of Steel (2013).mp4" and would fetch the priortized subtitles for it.

TV shows are whole separate beast in terms of functionality, the download layout being:

  • Original: Breaking Bad_1234 --> season_1 -- > 1.mp4, 2.mp4, 3.mp4, etc..
  • Converted: Breaking Bad (2008) --> Season 01 --> Pilot S01E01.mp4, Cat's in the Bag... S01E02.mp4, etc..

Errors, bugs, and general documentation

With my testing i've come across a few bugs that aren't that much of a pain, but could be a little annoying at times, i'll list them below.

  1. Bad/wrong subtitles
    • MovieBoxPro prioritizes subtitles usually on user feedback, some media especially older fail to have user feedback and will prioritize random subtitles or terrible subtitles. There is nothing in code I can do to fix this, but you can set correct priority within the MovieBoxPro application once the file is downloaded, but you'd need hindsight for this.
    • You can fix this post conversion by going to the movie folder within *Subtitles_Cache\Subtitles_My_Cache* and just grabbing the correct/working .srt file.
  2. m[18] is returning empty and subtitles aren't being found/prioritized/copied
    • This is normally user error, within MovieBoxPro settings the user must enable "Select Subtitle Automatically" under Playback.

During my testing (still on-going), in total I converted about 200 movies and 3 of them had bad subtitles/not working subtitles, so 1.5% were bad.

License

This project is licensed under the MIT License

As a developer you get control over:

  • Commercial use
  • Modification
  • Distribution
  • Private use

Find out more information about the MIT License

Acknowledgments

mbpconv's People

Contributors

boldlygo88 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.