├── .gitignore ├── Jellyfin.Plugin.ThemeSongs.sln ├── Jellyfin.Plugin.ThemeSongs ├── Api │ └── ThemeSongsController.cs ├── Configuration │ ├── PluginConfiguration.cs │ └── configurationpage.html ├── Jellyfin.Plugin.ThemeSongs.csproj ├── Jellyfin.Plugin.ThemeSongs.csproj.bak ├── Plugin.cs ├── ScheduledTasks │ └── ThemeSongsTasks.cs └── ThemeSongsManager.cs ├── LICENSE ├── README.md └── build.yaml /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.rsuser 8 | *.suo 9 | *.user 10 | *.userosscache 11 | *.sln.docstates 12 | 13 | # User-specific files (MonoDevelop/Xamarin Studio) 14 | *.userprefs 15 | 16 | # Build results 17 | [Dd]ebug/ 18 | [Dd]ebugPublic/ 19 | [Rr]elease/ 20 | [Rr]eleases/ 21 | x64/ 22 | x86/ 23 | [Aa][Rr][Mm]/ 24 | [Aa][Rr][Mm]64/ 25 | bld/ 26 | [Bb]in/ 27 | [Oo]bj/ 28 | [Ll]og/ 29 | 30 | # Visual Studio 2015/2017 cache/options directory 31 | .vs/ 32 | # Uncomment if you have tasks that create the project's static files in wwwroot 33 | #wwwroot/ 34 | 35 | # Visual Studio 2017 auto generated files 36 | Generated\ Files/ 37 | 38 | # MSTest test Results 39 | [Tt]est[Rr]esult*/ 40 | [Bb]uild[Ll]og.* 41 | 42 | # NUNIT 43 | *.VisualState.xml 44 | TestResult.xml 45 | 46 | # Build Results of an ATL Project 47 | [Dd]ebugPS/ 48 | [Rr]eleasePS/ 49 | dlldata.c 50 | 51 | # Benchmark Results 52 | BenchmarkDotNet.Artifacts/ 53 | 54 | # .NET Core 55 | project.lock.json 56 | project.fragment.lock.json 57 | artifacts/ 58 | 59 | # StyleCop 60 | StyleCopReport.xml 61 | 62 | # Files built by Visual Studio 63 | *_i.c 64 | *_p.c 65 | *_h.h 66 | *.ilk 67 | *.meta 68 | *.obj 69 | *.iobj 70 | *.pch 71 | *.pdb 72 | *.ipdb 73 | *.pgc 74 | *.pgd 75 | *.rsp 76 | *.sbr 77 | *.tlb 78 | *.tli 79 | *.tlh 80 | *.tmp 81 | *.tmp_proj 82 | *_wpftmp.csproj 83 | *.log 84 | *.vspscc 85 | *.vssscc 86 | .builds 87 | *.pidb 88 | *.svclog 89 | *.scc 90 | 91 | # Chutzpah Test files 92 | _Chutzpah* 93 | 94 | # Visual C++ cache files 95 | ipch/ 96 | *.aps 97 | *.ncb 98 | *.opendb 99 | *.opensdf 100 | *.sdf 101 | *.cachefile 102 | *.VC.db 103 | *.VC.VC.opendb 104 | 105 | # Visual Studio profiler 106 | *.psess 107 | *.vsp 108 | *.vspx 109 | *.sap 110 | 111 | # Visual Studio Trace Files 112 | *.e2e 113 | 114 | # TFS 2012 Local Workspace 115 | $tf/ 116 | 117 | # Guidance Automation Toolkit 118 | *.gpState 119 | 120 | # ReSharper is a .NET coding add-in 121 | _ReSharper*/ 122 | *.[Rr]e[Ss]harper 123 | *.DotSettings.user 124 | 125 | # JustCode is a .NET coding add-in 126 | .JustCode 127 | 128 | # TeamCity is a build add-in 129 | _TeamCity* 130 | 131 | # DotCover is a Code Coverage Tool 132 | *.dotCover 133 | 134 | # AxoCover is a Code Coverage Tool 135 | .axoCover/* 136 | !.axoCover/settings.json 137 | 138 | # Visual Studio code coverage results 139 | *.coverage 140 | *.coveragexml 141 | 142 | # NCrunch 143 | _NCrunch_* 144 | .*crunch*.local.xml 145 | nCrunchTemp_* 146 | 147 | # MightyMoose 148 | *.mm.* 149 | AutoTest.Net/ 150 | 151 | # Web workbench (sass) 152 | .sass-cache/ 153 | 154 | # Installshield output folder 155 | [Ee]xpress/ 156 | 157 | # DocProject is a documentation generator add-in 158 | DocProject/buildhelp/ 159 | DocProject/Help/*.HxT 160 | DocProject/Help/*.HxC 161 | DocProject/Help/*.hhc 162 | DocProject/Help/*.hhk 163 | DocProject/Help/*.hhp 164 | DocProject/Help/Html2 165 | DocProject/Help/html 166 | 167 | # Click-Once directory 168 | publish/ 169 | 170 | # Publish Web Output 171 | *.[Pp]ublish.xml 172 | *.azurePubxml 173 | # Note: Comment the next line if you want to checkin your web deploy settings, 174 | # but database connection strings (with potential passwords) will be unencrypted 175 | *.pubxml 176 | *.publishproj 177 | 178 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 179 | # checkin your Azure Web App publish settings, but sensitive information contained 180 | # in these scripts will be unencrypted 181 | PublishScripts/ 182 | 183 | # NuGet Packages 184 | *.nupkg 185 | # The packages folder can be ignored because of Package Restore 186 | **/[Pp]ackages/* 187 | # except build/, which is used as an MSBuild target. 188 | !**/[Pp]ackages/build/ 189 | # Uncomment if necessary however generally it will be regenerated when needed 190 | #!**/[Pp]ackages/repositories.config 191 | # NuGet v3's project.json files produces more ignorable files 192 | *.nuget.props 193 | *.nuget.targets 194 | 195 | # Microsoft Azure Build Output 196 | csx/ 197 | *.build.csdef 198 | 199 | # Microsoft Azure Emulator 200 | ecf/ 201 | rcf/ 202 | 203 | # Windows Store app package directories and files 204 | AppPackages/ 205 | BundleArtifacts/ 206 | Package.StoreAssociation.xml 207 | _pkginfo.txt 208 | *.appx 209 | 210 | # Visual Studio cache files 211 | # files ending in .cache can be ignored 212 | *.[Cc]ache 213 | # but keep track of directories ending in .cache 214 | !?*.[Cc]ache/ 215 | 216 | # Others 217 | ClientBin/ 218 | ~$* 219 | *~ 220 | *.dbmdl 221 | *.dbproj.schemaview 222 | *.jfm 223 | *.pfx 224 | *.publishsettings 225 | orleans.codegen.cs 226 | 227 | # Including strong name files can present a security risk 228 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 229 | #*.snk 230 | 231 | # Since there are multiple workflows, uncomment next line to ignore bower_components 232 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 233 | #bower_components/ 234 | # ASP.NET Core default setup: bower directory is configured as wwwroot/lib/ and bower restore is true 235 | **/wwwroot/lib/ 236 | 237 | # RIA/Silverlight projects 238 | Generated_Code/ 239 | 240 | # Backup & report files from converting an old project file 241 | # to a newer Visual Studio version. Backup files are not needed, 242 | # because we have git ;-) 243 | _UpgradeReport_Files/ 244 | Backup*/ 245 | UpgradeLog*.XML 246 | UpgradeLog*.htm 247 | ServiceFabricBackup/ 248 | *.rptproj.bak 249 | 250 | # SQL Server files 251 | *.mdf 252 | *.ldf 253 | *.ndf 254 | 255 | # Business Intelligence projects 256 | *.rdl.data 257 | *.bim.layout 258 | *.bim_*.settings 259 | *.rptproj.rsuser 260 | 261 | # Microsoft Fakes 262 | FakesAssemblies/ 263 | 264 | # GhostDoc plugin setting file 265 | *.GhostDoc.xml 266 | 267 | # Node.js Tools for Visual Studio 268 | .ntvs_analysis.dat 269 | node_modules/ 270 | 271 | # Visual Studio 6 build log 272 | *.plg 273 | 274 | # Visual Studio 6 workspace options file 275 | *.opt 276 | 277 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 278 | *.vbw 279 | 280 | # Visual Studio LightSwitch build output 281 | **/*.HTMLClient/GeneratedArtifacts 282 | **/*.DesktopClient/GeneratedArtifacts 283 | **/*.DesktopClient/ModelManifest.xml 284 | **/*.Server/GeneratedArtifacts 285 | **/*.Server/ModelManifest.xml 286 | _Pvt_Extensions 287 | 288 | # Paket dependency manager 289 | .paket/paket.exe 290 | paket-files/ 291 | 292 | # FAKE - F# Make 293 | .fake/ 294 | 295 | # JetBrains Rider 296 | .idea/ 297 | *.sln.iml 298 | 299 | # CodeRush personal settings 300 | .cr/personal 301 | 302 | # Python Tools for Visual Studio (PTVS) 303 | __pycache__/ 304 | *.pyc 305 | 306 | # Cake - Uncomment if you are using it 307 | # tools/** 308 | # !tools/packages.config 309 | 310 | # Tabs Studio 311 | *.tss 312 | 313 | # Telerik's JustMock configuration file 314 | *.jmconfig 315 | 316 | # BizTalk build output 317 | *.btp.cs 318 | *.btm.cs 319 | *.odx.cs 320 | *.xsd.cs 321 | 322 | # OpenCover UI analysis results 323 | OpenCover/ 324 | 325 | # Azure Stream Analytics local run output 326 | ASALocalRun/ 327 | 328 | # MSBuild Binary and Structured Log 329 | *.binlog 330 | 331 | # NVidia Nsight GPU debugger configuration file 332 | *.nvuser 333 | 334 | # MFractors (Xamarin productivity tool) working folder 335 | .mfractor/ 336 | 337 | # Local History for Visual Studio 338 | .localhistory/ 339 | 340 | # BeatPulse healthcheck temp database 341 | healthchecksdb 342 | 343 | # macOS 344 | .DS_Store 345 | -------------------------------------------------------------------------------- /Jellyfin.Plugin.ThemeSongs.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29905.134 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Jellyfin.Plugin.ThemeSongs", "Jellyfin.Plugin.ThemeSongs\Jellyfin.Plugin.ThemeSongs.csproj", "{A6C0029B-F304-4577-92D3-32153DCE1FDC}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {A6C0029B-F304-4577-92D3-32153DCE1FDC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {A6C0029B-F304-4577-92D3-32153DCE1FDC}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {A6C0029B-F304-4577-92D3-32153DCE1FDC}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {A6C0029B-F304-4577-92D3-32153DCE1FDC}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {2CA974E4-4306-49EA-A84B-2EA99B35E80D} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Jellyfin.Plugin.ThemeSongs/Api/ThemeSongsController.cs: -------------------------------------------------------------------------------- 1 | using System.Net.Mime; 2 | using MediaBrowser.Controller.Library; 3 | using Microsoft.AspNetCore.Authorization; 4 | using Microsoft.AspNetCore.Http; 5 | using Microsoft.AspNetCore.Mvc; 6 | using Microsoft.Extensions.Logging; 7 | 8 | namespace Jellyfin.Plugin.ThemeSongs.Api 9 | { 10 | /// 11 | /// The Theme Songs api controller. 12 | /// 13 | [ApiController] 14 | [Route("ThemeSongs")] 15 | [Produces(MediaTypeNames.Application.Json)] 16 | 17 | 18 | public class ThemeSongsController : ControllerBase 19 | { 20 | private readonly ThemeSongsManager _themeSongsManager; 21 | private readonly ILogger _logger; 22 | 23 | /// 24 | /// Initializes a new instance of . 25 | 26 | public ThemeSongsController( 27 | ILibraryManager libraryManager, 28 | ILogger logger) 29 | { 30 | _themeSongsManager = new ThemeSongsManager(libraryManager, logger); 31 | _logger = logger; 32 | } 33 | 34 | /// 35 | /// Downloads all Tv theme songs. 36 | /// 37 | /// Theme song download started successfully. 38 | /// A indicating success. 39 | [HttpPost("DownloadTVShows")] 40 | [ProducesResponseType(StatusCodes.Status204NoContent)] 41 | public ActionResult DownloadTVThemeSongsRequest() 42 | { 43 | _logger.LogInformation("Downloading TV Theme Songs"); 44 | _themeSongsManager.DownloadAllThemeSongs(); 45 | _logger.LogInformation("Completed"); 46 | return NoContent(); 47 | } 48 | 49 | 50 | 51 | } 52 | } -------------------------------------------------------------------------------- /Jellyfin.Plugin.ThemeSongs/Configuration/PluginConfiguration.cs: -------------------------------------------------------------------------------- 1 | using MediaBrowser.Model.Plugins; 2 | 3 | namespace Jellyfin.Plugin.ThemeSongs.Configuration 4 | { 5 | public class PluginConfiguration : BasePluginConfiguration 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Jellyfin.Plugin.ThemeSongs/Configuration/configurationpage.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Theme Songs 6 | 7 | 8 | 9 |
11 |
12 |
13 |
14 |
15 |

Theme Songs

16 | Help 18 |
19 |
20 |

This plugin relies on the TVDB provider 21 | Please make sure it is enabled!

22 |
23 |
24 |
25 | 27 |
28 |
29 |
30 | 31 | 32 | 49 |
50 | 51 | 52 | -------------------------------------------------------------------------------- /Jellyfin.Plugin.ThemeSongs/Jellyfin.Plugin.ThemeSongs.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net8.0 5 | true 6 | 10.10.0.1 7 | 10.10.0.1 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Jellyfin.Plugin.ThemeSongs/Jellyfin.Plugin.ThemeSongs.csproj.bak: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net6.0 5 | true 6 | 10.7.0.2 7 | 10.7.0.2 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Jellyfin.Plugin.ThemeSongs/Plugin.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using Jellyfin.Plugin.ThemeSongs.Configuration; 4 | using MediaBrowser.Common.Configuration; 5 | using MediaBrowser.Common.Plugins; 6 | using MediaBrowser.Controller; 7 | using MediaBrowser.Model.Plugins; 8 | using MediaBrowser.Model.Serialization; 9 | 10 | namespace Jellyfin.Plugin.ThemeSongs 11 | { 12 | public class Plugin : BasePlugin, IHasWebPages 13 | { 14 | public Plugin(IServerApplicationPaths appPaths, IXmlSerializer xmlSerializer) 15 | : base(appPaths, xmlSerializer) 16 | { 17 | Instance = this; 18 | } 19 | 20 | public override string Name => "Theme Songs"; 21 | 22 | public static Plugin Instance { get; private set; } 23 | 24 | public override string Description 25 | => "Downloads Theme Songs"; 26 | 27 | private readonly Guid _id = new Guid("afe1de9c-63e4-4692-8d8c-7c964df19eb2"); 28 | public override Guid Id => _id; 29 | 30 | public IEnumerable GetPages() 31 | { 32 | return new[] 33 | { 34 | new PluginPageInfo 35 | { 36 | Name = "Theme Songs", 37 | EmbeddedResourcePath = GetType().Namespace + ".Configuration.configurationpage.html" 38 | } 39 | }; 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Jellyfin.Plugin.ThemeSongs/ScheduledTasks/ThemeSongsTasks.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Threading; 4 | using System.Threading.Tasks; 5 | using MediaBrowser.Controller.Library; 6 | using MediaBrowser.Model.Tasks; 7 | using Microsoft.Extensions.Logging; 8 | 9 | namespace Jellyfin.Plugin.ThemeSongs.ScheduledTasks 10 | { 11 | public class DownloadThemeSongsTask : IScheduledTask 12 | { 13 | private readonly ILogger _logger; 14 | private readonly ThemeSongsManager _themeSongsManager; 15 | 16 | public DownloadThemeSongsTask(ILibraryManager libraryManager, ILogger logger) 17 | { 18 | _logger = logger; 19 | _themeSongsManager = new ThemeSongsManager(libraryManager, logger); 20 | } 21 | public Task Execute(CancellationToken cancellationToken, IProgress progress) 22 | { 23 | _logger.LogInformation("Starting plugin, Downloading TV Theme Songs..."); 24 | _themeSongsManager.DownloadAllThemeSongs(); 25 | _logger.LogInformation("All theme songs downloaded"); 26 | return Task.CompletedTask; 27 | } 28 | 29 | public Task ExecuteAsync(IProgress progress, CancellationToken cancellationToken) 30 | { 31 | return Execute(cancellationToken, progress); 32 | } 33 | 34 | public IEnumerable GetDefaultTriggers() 35 | { 36 | // Run this task every 24 hours 37 | yield return new TaskTriggerInfo 38 | { 39 | Type = TaskTriggerInfo.TriggerInterval, 40 | IntervalTicks = TimeSpan.FromHours(24).Ticks 41 | }; 42 | } 43 | 44 | public string Name => "Download TV Theme Songs"; 45 | public string Key => "DownloadTV ThemeSongs"; 46 | public string Description => "Scans all libraries to download TV Theme Songs"; 47 | public string Category => "Theme Songs"; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Jellyfin.Plugin.ThemeSongs/ThemeSongsManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Net; 6 | using System.Threading; 7 | using System.Threading.Tasks; 8 | using MediaBrowser.Controller.Entities; 9 | using MediaBrowser.Controller.Entities.TV; 10 | using MediaBrowser.Controller.Entities.Movies; 11 | using MediaBrowser.Controller.Library; 12 | using MediaBrowser.Controller.Plugins; 13 | using MediaBrowser.Model.Entities; 14 | using Microsoft.Extensions.Logging; 15 | using Jellyfin.Data.Enums; 16 | 17 | namespace Jellyfin.Plugin.ThemeSongs 18 | 19 | { 20 | 21 | 22 | public class ThemeSongsManager : IDisposable 23 | { 24 | private readonly ILibraryManager _libraryManager; 25 | private readonly Timer _timer; 26 | private readonly ILogger _logger; 27 | 28 | public ThemeSongsManager(ILibraryManager libraryManager, ILogger logger) 29 | { 30 | _libraryManager = libraryManager; 31 | _logger = logger; 32 | _timer = new Timer(_ => OnTimerElapsed(), null, Timeout.Infinite, Timeout.Infinite); 33 | } 34 | 35 | private IEnumerable GetSeriesFromLibrary() 36 | { 37 | return _libraryManager.GetItemList(new InternalItemsQuery 38 | { 39 | IncludeItemTypes = new[] {BaseItemKind.Series}, 40 | IsVirtualItem = false, 41 | Recursive = true, 42 | HasTvdbId = true 43 | }).Select(m => m as Series); 44 | } 45 | 46 | 47 | public void DownloadAllThemeSongs() 48 | { 49 | var series = GetSeriesFromLibrary(); 50 | foreach (var serie in series) 51 | { 52 | if (serie.GetThemeSongs().Count() == 0) 53 | { 54 | var tvdb = serie.GetProviderId(MetadataProvider.Tvdb); 55 | var themeSongPath = Path.Join(serie.Path, "theme.mp3"); 56 | var link = $"http://tvthemes.plexapp.com/{tvdb}.mp3"; 57 | _logger.LogDebug("Trying to download {seriesName}, {link}", serie.Name, link); 58 | 59 | try 60 | { 61 | using var client = new WebClient(); 62 | client.DownloadFile(link, themeSongPath); 63 | _logger.LogInformation("{seriesName} theme song succesfully downloaded", serie.Name); 64 | } 65 | catch (Exception e) 66 | { 67 | _logger.LogInformation("{seriesName} theme song not in database, or no internet connection", serie.Name); 68 | } 69 | } 70 | } 71 | } 72 | 73 | 74 | private void OnTimerElapsed() 75 | { 76 | // Stop the timer until next update 77 | _timer.Change(Timeout.Infinite, Timeout.Infinite); 78 | } 79 | 80 | public Task RunAsync() 81 | { 82 | return Task.CompletedTask; 83 | } 84 | 85 | public void Dispose() 86 | { 87 | } 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Claus Vium 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

Jellyfin Theme Songs Plugin

2 |

Part of the Jellyfin Project

3 | 4 |

5 | Jellyfin Theme Songs plugin is a plugin that automatically downloads every theme song of your tv show library; 6 | 7 |

8 | 9 | ## Install Process 10 | 11 | 12 | ## From Repository 13 | 1. In jellyfin, go to dashboard -> plugins -> Repositories -> add and paste this link https://raw.githubusercontent.com/danieladov/JellyfinPluginManifest/master/manifest.json 14 | 2. Go to Catalog and search for Theme Songs 15 | 3. Click on it and install 16 | 4. Restart Jellyfin 17 | 18 | 19 | ## From .zip file 20 | 1. Download the .zip file from release page 21 | 2. Extract it and place the .dll file in a folder called ```plugins/Theme Songs``` under the program data directory or inside the portable install directory 22 | 3. Restart Jellyfin 23 | 24 | ## User Guide 25 | 1. To download the theme songs you can do it from Schedule task or directly from the configuration of the plugin. 26 | 2. You need to have enabled the option "Theme Songs" under display 27 | 28 | 29 | 30 | 31 | 32 | ## Build Process 33 | 1. Clone or download this repository 34 | 2. Ensure you have .NET Core SDK setup and installed 35 | 3. Build plugin with following command. 36 | ```sh 37 | dotnet publish --configuration Release --output bin 38 | ``` 39 | 4. Place the resulting .dll file in a folder called ```plugins/Merge versions``` under the program data directory or inside the portable install directory 40 | 41 | 42 | -------------------------------------------------------------------------------- /build.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | name: "jellyfin-plugin-tmdbboxsets" 3 | guid: "bc4aad2e-d3d0-4725-a5e2-fd07949e5b42" 4 | version: "5" # Please increment with each pull request 5 | jellyfin_version: "10.5.0" # The earliest binary-compatible version 6 | owner: "jellyfin" 7 | nicename: "TMDb Box Sets" 8 | description: "Automatically create movie box sets based on TMDb collections" 9 | overview: "Automatically create movie box sets based on TMDb collections" 10 | category: "Metadata" 11 | artifacts: 12 | - "Jellyfin.Plugin.TMDbBoxSets.dll" 13 | build_type: "dotnet" 14 | dotnet_configuration: "Release" 15 | dotnet_framework: "netstandard2.1" 16 | --------------------------------------------------------------------------------