danieladov / jellyfin-plugin-themesongs Goto Github PK
View Code? Open in Web Editor NEWDownloads TV Show Theme Songs for your library
License: MIT License
Downloads TV Show Theme Songs for your library
License: MIT License
Hey, it would be nice if the music would fade in and out at the beginning and at the end of playback, like it does if you go back to the library.
I would like to request an option in settings where users can change the default source of where intros are downloaded from. That way users have the option to use alternative theme songs.
Hello everyone, excellent complement.
The soundtracks are downloaded as "theme.mp3" in the folders but when viewing the content it does not play in the background.
Is there anything else to configure?
Thank you,
Best regards
Hi, I have installed it in my Jellyfin deployment in docker. I click on the download button and when visiting the tv shows there is no music. Is this the way it should be triggered?
I have installed the Plugin, and it downloads most of the Theme Songs. But whatever Device i use, no Theme Song will be played. Not in the Browser, not in the Xbox App, not in the Android App.
`[2022-12-30 14:54:32.730 +01:00] [INF] [22] Jellyfin.Plugin.ThemeSongs.ThemeSongsManager: "My TV Show" theme song succesfully downloaded
[2022-12-30 16:39:43.384 +01:00] [INF] [49] Jellyfin.Plugin.ThemeSongs.ThemeSongsManager: All theme songs downloaded`
I just downloaded this plugin, ran the task to download all theme songs, and verified that a random selection of folders do have a working theme.mp3
file within them.
When accessing the show's page, the one from which you can play an episode, watch the trailer, or read the description, I hear nothing. I've tried this on both my browser and from the Jellyfin app on my TV.
Is there any additional configuration required, aside from installation and running the task, or am I incorrect in assuming that the theme should play when accessing the show's page?
10.8.8
10.8.0.1
[2022-02-07 20:24:27.053 +08:00] [INF] [25] Jellyfin.Plugin.ThemeSongs.ThemeSongsManager: Downloading TV Theme Songs
[2022-02-07 20:24:27.054 +08:00] [ERR] [25] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/ThemeSongs/DownloadTVShows".
System.MissingMethodException: Method not found: 'System.Guid[] MediaBrowser.Controller.Entities.BaseItem.get_ThemeSongIds()'.
at Jellyfin.Plugin.ThemeSongs.ThemeSongsManager.DownloadAllThemeSongs()
at Jellyfin.Plugin.ThemeSongs.Api.ThemeSongsController.DownloadTVThemeSongsRequest()
My real issue is the songs not playing. I can manually put videos in /backdrops/video1."file-extension" , but it breaks the show completely. Attempting to do music the same way yields no result, no matter the title or directory. The setting for theme songs IS on, so is there more I need to do or something I am missing as to why theme songs don't play?
Running version 10.7.7 of Jellyfin and version 10.7.0.2 of the plugin.
The plugin is not downloading theme songs, and the Jellyfin log file shows the above error message.
TVDB plugin is installed and active. All users (including the jellyfin user) on the system (a Raspberry Pi) have write access to the folders where the media is stored. the RPi has a working internet connection.
What else could be wrong?
Hi,
I'm running version 10.7.7 of Jellyfin in Docker in a NAS server and version 10.7.0.2 of the plugin, with the TVDB plugin working fine.
The theme songs were already downloaded to the folder of each show/movie.
When browsing any of the shows/movies in my library using the Android Mobile App, the theme song plays and then suddenly, the app loses connectivity to the server (even though the theme song is still playing) and can't reconnect.
I have to force-close the app to stop the audio playing and reconnect automatically to the server.
Why could this be happening?
Hello,
I have install the plugin from repository.
I can see theme song on my tv folder, but no song start on jellyfin page.
For whatever it's worth, the build.yaml file looks to be copied from the tmdbboxsets plugin. It should probably be updated.
Can we get a dropdown menu to adjust volume for the theme song?
a value in percentage will be helpful. Thanks!
In addition to Jellyfin web client playing theme songs with the file naming scheme of "theme.*" (theme.mp3
, theme.flac
, theme.wav
, etc...), it also supports playing audio files from a theme-music
no matter what the file name is as per the documentation https://jellyfin.org/docs/general/server/media/shows#other.
The Request here is to add a plugin configuration option that allows users to choose to download theme songs a theme-music
folder instead of a theme.mp3
or theme.flac
file.
That will allow more flexibility to users as it allows play multiple theme songs to be played in order when visiting a Series or Season folder.
This will also pair well with a PR to add support to play theme-media in random order: jellyfin/jellyfin-web#5714.
Ideally it would be nice if the user can choose where to download Theme songs via a configuration option such as
Series Name (2024)/theme-music/*
Series Name (2024)/Season XX/theme-music/*
Therefore a user can put additional audio files in addition to what the plugin downloads into a layout such as follows
Series Name (2024)/
theme-music/
1. Series-Theme.mp3
Season 01/
theme-music/
1. Season1-OP1.mp3
2. Season1-OP2.flac
Season 02/
theme-music/
1. Season2-OP.wav
This is a great plugin but currently it's very loud compared to the media I and I assume many others use. Having a volume setting/control somewhere would be a nice addition.
Hi there, just a note to keep the plugin compatible with Jellyfin 10.9.
Here are the error loading the plugin on 10.9 :
[2024-05-11 21:47:28.415 +02:00] [ERR] [1] Emby.Server.Implementations.Plugins.PluginManager: Failed to load assembly "/config/data/plugins/Theme Songs_10.8.0.1/Jellyfin.Plugin.ThemeSongs.dll". This error occurs when a plugin references an incompatible version of one of the shared libraries. Disabling plugin
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load type 'MediaBrowser.Controller.Plugins.IServerEntryPoint' from assembly 'MediaBrowser.Controller, Version=10.9.0.0, Culture=neutral, PublicKeyToken=null'.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at Emby.Server.Implementations.Plugins.PluginManager.LoadAssemblies()+MoveNext()
System.TypeLoadException: Could not load type 'MediaBrowser.Controller.Plugins.IServerEntryPoint' from assembly 'MediaBrowser.Controller, Version=10.9.0.0, Culture=neutral, PublicKeyToken=null'.
Running on jellyfin official docker image
Thanks
Using themesongs via docker on Jellyfin v10.9.8.
The plugin mostly functions as expected. It only misses a few themes for some shows in which case I have manually added them to get them working.
Yesterday I noticed a bunch of themes missing that I could have sworn I'd manually added over the course of a couple of years. I made sure the plugin was utd, (updated to 10.9.2.0) ran it and as expected, for whatever reason was not pulling themes for certain shows. I spent the better part of the afternoon manually adding the themes that were missing, making sure to name the file "theme.mp3"
Today, several of the themes that I am certain I restored are again missing. I am certain this is not user error, as I tested the themes and made sure to save backups of all the files that I'd added on a separate drive. Could the plugin be deleting the themes that it is not finding via TVDB?
I'm having trouble redownloading a theme song that was working. I deleted all the files for this show because I got new video files. I accidentally also deleted the theme song audio file. Now it won't download again. Does the plug in remember that it already downloaded a file for this show? Or does it check every time?
Thank you!
Hi i've that error when i try search song
can you help me pls ?
[22:37:08] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Download Theme Songs
[22:37:08] [INF] [30] Jellyfin.Plugin.ThemeSongs.ScheduledTasks.DownloadThemeSongsTask: Starting plugin, Downloading Theme Songs...
[22:37:08] [ERR] [30] Jellyfin.Plugin.ThemeSongs.ScheduledTasks.DownloadThemeSongsTask: La flamme not found, or no internet connection
System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
``
at System.Net.WebClient.DownloadFile(String address, String fileName)
at Jellyfin.Plugin.ThemeSongs.ThemeSongsManager.DownloadAllThemeSongs()
[22:37:08] [ERR] [30] Jellyfin.Plugin.ThemeSongs.ScheduledTasks.DownloadThemeSongsTask: Validé not found, or no internet connection
System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at System.Net.WebClient.DownloadFile(String address, String fileName)
at Jellyfin.Plugin.ThemeSongs.ThemeSongsManager.DownloadAllThemeSongs()
[22:37:08] [ERR] [30] Jellyfin.Plugin.ThemeSongs.ScheduledTasks.DownloadThemeSongsTask: Emily in Paris not found, or no internet connection
System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at System.Net.WebClient.DownloadFile(String address, String fileName)
at Jellyfin.Plugin.ThemeSongs.ThemeSongsManager.DownloadAllThemeSongs()
[22:37:09] [INF] [30] Jellyfin.Plugin.ThemeSongs.ScheduledTasks.DownloadThemeSongsTask: All theme songs downloaded
[22:37:09] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: Download Theme Songs Completed after 0 minute(s) and 1 seconds
The ability to specify a delay before playing and whether to fade in or out might be nice.
[19:23:59] [INF] [32] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Download Movies Theme Songs (beta)
[19:23:59] [INF] [32] Jellyfin.Plugin.ThemeSongs.ThemeSongsManager: Starting plugin, Downloading Theme Songs...
[19:23:59] [INF] [32] Jellyfin.Plugin.ThemeSongs.ThemeSongsManager: 1
[19:23:59] [INF] [32] Jellyfin.Plugin.ThemeSongs.ThemeSongsManager: 646
[19:23:59] [INF] [32] Jellyfin.Plugin.ThemeSongs.ThemeSongsManager: bso 2021
[19:23:59] [INF] [32] Jellyfin.Plugin.ThemeSongs.ThemeSongsManager: All theme songs downloaded
[19:23:59] [INF] [32] Emby.Server.Implementations.ScheduledTasks.TaskManager: Download Movies Theme Songs (beta) Completed after 0 minute(s) and 0 seconds
Several theme songs are cut a bit at the beginning. Maybe intentional, maybe not? Edit: Found slider for player, they're cut starting. Not sure why.
The icon that normally shows in flatkrap versions of the Jellyfin Player is not visible on the non-flatkrap versions (Desktop, Linux). It also immediately hides itself after it is done playing an intro, making it impossible to open the controls for it.
I've enabled theme playback in the Display, I downloaded themes using the plugin, verified that theme.mp3 is in a series folder....nothing. It just doesn't play....I've even confirmed that the mp3 is valid and the correct theme.
I'm running the latest plugin, the latest stable Jellyfin (10.7.7) installed through apt-get on Debian (not Docker).
Have I missed something, botched something somewhere? What triggers the theme to play...if it is the skin, that might explain it as I installed the Skin Manager plugin.
Hi,
i using latest stable JellyFin Version on my Synology NAS DS920+ with DSM 7.2
Is it possible to make a new Setting to the Theme Song Plugin to save the Theme Songs not automaticly in the Media Folder, instead in the Metadata Folder of JellyFin itself ?
In my case the Media Folder is always Write Protected and only the Admin can access it with Read/Write Permissions so it would be very nice to save this to Metadata Folder.
Here in my case JellyFin has this Folder:
/volume1/@appdata/jellyfin/data/metadata
In this Folder there are anyway Read/Write Permissions
Big Thanks, Keep the good work up.
I have installed themesongs (10.7.0.2).
It has downloaded the files to the corresponding folders. (theme.mp3)
Does this NOT auto play the theme songs when i click into the tv series folder ?
The documentation is very vague, I can not see anywhere in any documentation stating if it does or not ?
( if it does not auto play back, can you update Github advising, as i do see on other forums alot of other people asking the same question)
Never mind, you have to go into User=> Settings => Display, and set playback,So this is only enabled on a per user basis, not a global configuration.
You can close this issue, sorry for the inconvenience.
Would it be possible to store the themes songs in the Metadata folder instead of inside the series folder?
A lot of people will have the shows stored on spinning hard disks and the metadata on an SSD/NVMe drive. Doing this ensures that no hard drives need to spin up when browsing Jellyfin.
When using this plugin, however, those hard drives have to spin up in order to play the MP3 file. Not only does this cause excess wear and tear on hard drives, it also causes the theme songs to take a long time to start playing since Jellyfin is waiting to read from the disk
It would be great to provide a way to store the MP3s inside Jellyfin's Metadata folder so that the songs can play faster and hard drives don't need to spin just to browse!
Thanks!
After installing to 10.7 I get this in logs and plugin is state "Malfunctioned":
[14:29:22] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Theme Songs 10.7.0
[14:29:23] [ERR] [1] Emby.Server.Implementations.ApplicationHost: Error creating Jellyfin.Plugin.ThemeSongs.ThemeSongsManager
System.InvalidOperationException: Unable to resolve service for type 'Microsoft.Extensions.Logging.ILogger' while attempting to activate 'Jellyfin.Plugin.ThemeSongs.ThemeSongsManager'
Am running jellyfin/jellyfin-unstable docker on linux
Love your plugin, it works basically flawlessly
But could you please add a volume setting to your plugin?
It doesn't need to be anything fancier than a % slider in the plugins menu, and I would be 1 happy camper
Thanks
The addon is downloading a lot of 0 byte mp3.
rclone + gdrive mount
I tried to use your plugin, however I always get the following log message and no theme songs are downloaded:
Jellyfin.Plugin.ThemeSongs.ThemeSongsManager: Breaking Bad theme song not in database, or no internet connection
This happens for all my TV shows.
Some information on my setup:
Is there something else I need to do?
Running version 10.8.0.0 of the plugin with version 10.8.0 Jellyfin. The plugin's status is "Not Supported"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.