Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

📺️Advanced MPV Player

AnkiWeb Page | Code : 466948669

banner_shigeyuki_2

This add-on is a fixed version for Anki26+ of the addon “Advanced MPV Player”, originally created by them (author unknown) and credit goes to them. The original add-on is no longer maintained and is broken in the latest version of Anki, instead you can use this my fixed version.

How to use

(these descriptions are re-uploaded and partially edited from the original add-on page.)

This add-on optimizes the mpv player’s featuresthes when use sounds field:

  • When play video clip, this add-on will paused at the end,keep the last frame on the screen and not close the window, if the anki play next card’s video clip, the mpv window will continue play the clip, this make people feel comfortable.

  • When play vidoe or audio media, you can use sounds like this: [sound:xxxx.flv –start=60 –length=10], this make the mpv play the media from start time and keep playing length time, The following is references, with these options, we can skip media’s titile or useless part, or cut a long clip to small parts and watchint its in several days.

MPV Manual: Options

  • --start=<relative time>

    • Examples: –start=+56, –start=00:56 Seeks to the start time + 56 seconds. –start=-56, –start=-00:56 Seeks to the end time - 56 seconds. –start=01:10:00 Seeks to 1 hour 10 min. –start=50% Seeks to the middle of the file. –start=30 –end=40 Seeks to 30 seconds, plays 10 seconds, and exits. –start=-3:20 –length=10 Seeks to 3 minutes and 20 seconds before the end of the file, plays 10 seconds, and exits. –start=‘#2’ –end=‘#4’ Plays chapters 2 and 3, and exits.
  • --end=<relative time>

    • Stop at given time. Use –length if the time should be relative to –start. See –start for valid option values and examples.
  • --length=<relative time>

  • Support Opitons like: –start=01:10:00,100 –end=01:11:00,000 –sub-add=xxxx.srt make the mpv play video for segment and subtitle.

Options

  • Force Window:
    • Keeps the MPV player visible always. The MPV player plays both video and audio, if you play audio after playing a video, the MPV player will be hidden. This option keeps a black screen displayed without closing mpv.
  • Keep Aspect:
    • Keep the video’s aspect ratio when resizing the window.
  • Show Subtitle:
    • Display subtitles if they are available.
  • Hide Title Bar:
    • Hides the title bar at the top of the MPV player.

Custom size and position

Options to customize the position and size of the MPV player when Anki launches. These options take effect after Anki is restarted. (They are not applied immediately.)

  • Customize the position and size of the MPV when launch Anki:

    • Turn this feature ON/OFF
  • Adjust MPV window size and position button:

    • Show a placeholder window for the MPV to customize its size and position. The position and size of this placeholder window will determine where the MPV player launches.
  • Reset the window’s size and position button:

    • Reset the position and size to the default.

🚨Report

If you have any problems or requests feel free to send them to me.

  1. 👍️Rate Comment : You can contact me anonymously, and AnkiWeb will send you an email when I reply, a high rating increases priority of development.
  2. 👩‍🚀Reddit : You can request me to repair broken Add-ons.
  3. 🌟AnkiForums : You can request me to repair broken Add-ons, and it is ideal for open discussions.
  4. 🐙Github : Makes it easier to track problems.
  5. 💖Patreon DM : Response will be prioritized.

💖Please Support Shige's Anki add-ons development!

Hi thank you for using this add-on I’m Shigeඞ!

  1. [ 🛠️Fix add-ons ] So far I fixed and customized 80+ broken add-ons for free and developed over 30 add-ons as a hobby (all add-ons). If you have requests to fix broken add-ons feel free to contact me. Fix broken addons (Free)
  2. [ 💖Donation ] I’m looking for supporters for my add-ons development because I like Anki!👍️ If you support my volunteer development you will get 14 add-ons for patrons only and 15 game themes included in AnkiArcade ($5/month).

patrons_banner
Get Patrons only addons | Patrons Q and A | Contact

[ Special Thanks ]
So far I received donations from 747 patrons and without their support I never could develop this, thank you very much!🙏

Patrons: Arthur Bookstein Haruka LetoPath 07951350313540 NamelessGO Tim Kyle Mondlak ElAnki Daniel Kohl-Fink Abhi S findus161 Juan Salgado Peasant of Anki Lily Jesse Asiedu Yaeerrrrrr Xiuxuan Wang Heidi Aydin Herik Matthew Hartford gus forester Hoang Hung David C Take Root Christopher Lam Iggi Carly Burdorf Austin Regal Steven Banner Terence Bartenbach Vivian Cao Pansanity Anh-Tai Nguyen Devon Williams Jonathan Contreras Kmyungc Will S. Meeyah Davis Eric Allen Andrew Yick Robert Remedios Kyle Anthony Seth Stidham Elisabeth Barber Zarina Balde Miguel Dittrich Ali Abid Leonora Lomoki Akporyoe Ernest Chan Katherine Geromini Isabel Guan Looptime IsAble Hussain Almoumen lionheart3003 GP & Chamin Joseph Howell Niiick Orlando Frey Kevin M Ujwal Chadha Nabeel Elhaj Jack ivy tian Kolorophyll Zuhair Jake Stucki Kaitlyn Bowler Brandon Anamah Yashar Hadi Justin Magda Subhash Gutti Mia Celeste Achatz ellie Tobias Klös Jolene Galbreath Lelia Belle Houbé 尘 北冥 mootcourt Walter Rusin Marlee Davis Samuel Habib iuventius Audreylyn Shannon Franz Enkerlin Patrick ellis tarek Efrain Garcia Fonseca Daniel del Risco qiting zeng Muneeb Khan Kurtresha Worden Anjali Nallaveettil Sameer Al Lisa Kirby Matheus Chagas Pneumaniac 1 Bryn Price pie_is_good Svel1989 …full list

📥 How do I install this add-on?

  1. This add-on works with Anki for desktop (it does not work on mobile). Download Anki from the official website if you haven’t already.
  2. Copy and paste the add-on code ( 466948669 ) into Anki and you can install it. ( Menu -> Tools -> Add-ons -> Get Add-ons -> Code [ add-on code ] )
  3. When I develop bug fixes, create new features, or compatibility for New Anki, I will notify you and you can install it.
  4. Add-ons will be broken when the official Anki gets a major update, so if you like this add-on please support my volunteer development by rating, sharing, and donating. Thank you!

Click here and please Rate this add-on, Thank you! :-)
Please rate this