From 0c876255fbffec4b56f3d67e09a19eb4e92186b6 Mon Sep 17 00:00:00 2001 From: Izzie Walton Date: Mon, 13 May 2024 17:23:00 -0400 Subject: [PATCH] Up version to 2.7.0. --- Jellyfin MPV Shim.iss | 2 +- jellyfin_mpv_shim/constants.py | 2 +- ...thub.iwalton3.jellyfin-mpv-shim.appdata.xml | 8 +++++++- setup.py | 18 ++++++++++++++++-- 4 files changed, 25 insertions(+), 5 deletions(-) diff --git a/Jellyfin MPV Shim.iss b/Jellyfin MPV Shim.iss index 9b92a9820c..31a6cfb9dc 100644 --- a/Jellyfin MPV Shim.iss +++ b/Jellyfin MPV Shim.iss @@ -2,7 +2,7 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "Jellyfin MPV Shim" -#define MyAppVersion "2.6.0" +#define MyAppVersion "2.7.0" #define MyAppPublisher "Izzie Walton" #define MyAppURL "https://github.com/jellyfin/jellyfin-mpv-shim" #define MyAppExeName "run.exe" diff --git a/jellyfin_mpv_shim/constants.py b/jellyfin_mpv_shim/constants.py index 47f3711bc2..4ca8f84d18 100644 --- a/jellyfin_mpv_shim/constants.py +++ b/jellyfin_mpv_shim/constants.py @@ -1,6 +1,6 @@ APP_NAME = "jellyfin-mpv-shim" USER_APP_NAME = "Jellyfin MPV Shim" -CLIENT_VERSION = "2.6.0" +CLIENT_VERSION = "2.7.0" USER_AGENT = "Jellyfin-MPV-Shim/%s" % CLIENT_VERSION CAPABILITIES = { "PlayableMediaTypes": "Video", diff --git a/jellyfin_mpv_shim/integration/com.github.iwalton3.jellyfin-mpv-shim.appdata.xml b/jellyfin_mpv_shim/integration/com.github.iwalton3.jellyfin-mpv-shim.appdata.xml index f6e2b792bc..635c52d7b6 100644 --- a/jellyfin_mpv_shim/integration/com.github.iwalton3.jellyfin-mpv-shim.appdata.xml +++ b/jellyfin_mpv_shim/integration/com.github.iwalton3.jellyfin-mpv-shim.appdata.xml @@ -14,7 +14,7 @@ MPV media player. The application runs in the background and opens MPV only when media is cast to the player. The player supports most file formats, allowing you to prevent needless transcoding of your media files on the server. The player also has - advanced features, such as bulk subtitle updates and launching commands on events. + advanced features, such as bulk subtitle updates and launching commands on events.

Please read the detailed instructions on GitHub for more details, including usage @@ -58,6 +58,12 @@ + + +

  • Switch to native Jellyfin Trickplay support.
  • +
  • Update runtimes.
  • + +

    Disable built-in MPV playback resuming. (#323)

    diff --git a/setup.py b/setup.py index 04a3c0200f..95c49f2cbe 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ from setuptools import setup import sys +import os with open("README.md", "r") as fh: long_description = fh.read() @@ -16,9 +17,22 @@ extras["all"] += win_extra extras["mirror"] += win_extra +packages = [ + "jellyfin_mpv_shim", + "jellyfin_mpv_shim.display_mirror", + "jellyfin_mpv_shim.messages", + "jellyfin_mpv_shim.default_shader_pack", + "jellyfin_mpv_shim.default_shader_pack.shaders", + "jellyfin_mpv_shim.integration" +] + +for dir in os.listdir("jellyfin_mpv_shim/messages"): + if os.path.isdir("jellyfin_mpv_shim/messages/" + dir + "/LC_MESSAGES"): + packages.append("jellyfin_mpv_shim.messages." + dir + ".LC_MESSAGES") + setup( name="jellyfin-mpv-shim", - version="2.6.0", + version="2.7.0", author="Izzie Walton", author_email="izzie@iwalton.com", description="Cast media from Jellyfin Mobile and Web apps to MPV.", @@ -26,7 +40,7 @@ long_description=open("README.md").read(), long_description_content_type="text/markdown", url="https://github.com/jellyfin/jellyfin-mpv-shim", - packages=["jellyfin_mpv_shim", "jellyfin_mpv_shim.display_mirror"], + packages=packages, package_data={ "jellyfin_mpv_shim.display_mirror": ["*.css", "*.html"], "jellyfin_mpv_shim": ["systray.png"],