Jump to content

TV Theme Music Plugin Questions and Support Thread


radeon

Recommended Posts

  • 1 month later...
shorty1483

Why is there no option to upload local TV Theme Songs? Would really share some themes I made for myself.

Link to comment
Share on other sites

radeon

Why is there no option to upload local TV Theme Songs? Would really share some themes I made for myself.

 

Fraid not. At the minute, they all come directly from televisiontunes, In theory, I could add the contribution network to this one too but the last time I mentioned about it for another (unreleased) plugin, the admins threw it out so my hands are a little tied. 

  • Like 1
Link to comment
Share on other sites

  • 3 months later...
mentasm

Hi,

 

I'm wondering if this is expected behavior?  I think the schedule is just failing to find a theme song, but doesn't seem to do it gracefully

2015-12-10 22:30:02.8584 Info App: HttpClientManager GET: http://ballingtons.com/s/?n=Best New Restaurant&t=289634
2015-12-10 22:30:03.6584 Info App: HttpClientManager GET: http://www.televisiontunes.com/B-theme-songs.html
2015-12-10 22:30:23.6586 Error App: Error getting response from http://www.televisiontunes.com/B-theme-songs.html
    *** Error Report ***
    Version: 3.0.5781.5
    Command line: C:\Users\media\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: False
    Program data path: C:\Users\media\AppData\Roaming\Emby-Server
    Application Path: C:\Users\media\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    One or more errors occurred.
    System.AggregateException
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
     at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1b.MoveNext()
    InnerException: System.Net.WebException
    The request was aborted: The request was canceled.
     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
     at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
    
2015-12-10 22:30:23.6586 Error App: Error downloading tv theme song for Best New Restaurant
    *** Error Report ***
    Version: 3.0.5781.5
    Command line: C:\Users\media\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: False
    Program data path: C:\Users\media\AppData\Roaming\Emby-Server
    Application Path: C:\Users\media\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    One or more errors occurred.
    MediaBrowser.Model.Net.HttpException
     at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1b.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsync>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<Get>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at MediaBrowser.Plugins.ThemeSongs.Search.TelevisionTunesSearch.<Search>d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at MediaBrowser.Plugins.ThemeSongs.Search.LocalThemeSongDownloader.<GetThemeSongUrl>d__d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at MediaBrowser.Plugins.ThemeSongs.Search.LocalThemeSongDownloader.<DownloadThemeSongForItem>d__1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
     at MediaBrowser.Plugins.ThemeSongs.ScheduledTasks.LocalThemeSongDownloadTask.<Execute>d__8.MoveNext()
    InnerException: System.AggregateException
    One or more errors occurred.
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
     at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1b.MoveNext()
    InnerException: System.Net.WebException
    The request was aborted: The request was canceled.
     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
     at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

I can manually load http://www.televisiontunes.com/B-theme-songs.html OK, but there isn't an entry for Best New Restuarants.  Is the plugin supposed to throw these errors when failing to get a match, or is something else going wrong?

 

I get a heap of identical error spam in my logs for a bunch of shows

Link to comment
Share on other sites

radeon

Works fine for me, It looks to me like your setup, probably firewall is blocking the plugins requests to the tvtunes site. I just added the identical show and whilst it failed to find a theme song, it failed gracefully.

 

I may need to catch it failing at the top level url but it shouldn't have a problem accessing that any way. 

Link to comment
Share on other sites

mentasm

I thought I'd removed firewall from the equation by manually browsing to the site.  I can load the page no problems from my web browser.

 

Any other ideas how I can troubleshoot this?

 

BTW, I'm not running local firewall on the emby server and doing nothing tricky on my modem router.

Link to comment
Share on other sites

  • 4 months later...

So I just installed this plugin. Even though all my shows are correctly identified and all Emby metadata scraping is accurate, it downloaded the wrong theme for a few shows.

 

For Battlestar Galactica reboot it downloaded the theme for the 1978 version - folder path is \\SAN1\media\TV Shows\Battlestar Galactica (2004)

For House of Cards US it downloaded the theme for the 1990 British version - folder path is \\SAN1\media\TV Shows\House of Cards (2013)

 

any way to grab the correct versions?

Edited by Xorp
Link to comment
Share on other sites

radeon

So I just installed this plugin. Even though all my shows are correctly identified and all Emby metadata scraping is accurate, it downloaded the wrong theme for a few shows.

 

For Battlestar Galactica reboot it downloaded the theme for the 1978 version - folder path is \\SAN1\media\TV Shows\Battlestar Galactica (2004)

For House of Cards US it downloaded the theme for the 1990 British version - folder path is \\SAN1\media\TV Shows\House of Cards (2013)

 

any way to grab the correct versions?

 

 

The themes get pulled directly from televisiontunes.com on this one so the only way would be to grab them directly from the site. 

 

I have thought about hosting the themes like with the other 3 plugins but It would reduce the available themes significantly in the short term until the library got built up

Link to comment
Share on other sites

The themes get pulled directly from televisiontunes.com on this one so the only way would be to grab them directly from the site. 

 

I have thought about hosting the themes like with the other 3 plugins but It would reduce the available themes significantly in the short term until the library got built up

 

Ok thanks for clarifying. I'll just manually grab themes from that site for now. Without a manually curated library it's just pulling too many weird and inaccurate files.

Link to comment
Share on other sites

  • 1 month later...

Will there be support for FireTV?

 

That isn't within this plug-in's control as it just sources the media.

 

You can create a feature request for theme music support in the FTV app and we can monitor the demand.  Thanks.

Link to comment
Share on other sites

  • 4 months later...

Hi,

i installed your plugin but it only downloaded one theme music, American Horror Story.

Do i have to do anything else except library scan for this to work, or am i maybe still in the demo version? How can i check this?

Thank you

Link to comment
Share on other sites

Hi,

i installed your plugin but it only downloaded one theme music, American Horror Story.

Do i have to do anything else except library scan for this to work, or am i maybe still in the demo version? How can i check this?

Thank you

 

Hey! @@LeftyCD,

 

Sounds like the plugin could still be in trial mode. Give the emby server a reboot to kick the plugin into rechecking its licenced status and you should be good to go. :-)

Link to comment
Share on other sites

Hi, thanks for the fast answer.

Unfortunately it still doesn´t work, i restarted the server and did another library refresh.

I have a feeling that something went wrong with the purchase procedure, my browser got kinda stuck in the redirect page after payment.

Link to comment
Share on other sites

You mention a library refresh but not running of the plugins scheduled task? you'll need to be running the download local tv theme songs task too. 

 

if that doesnt work, drop me a pm with your paypal/supporter key email address and I'll check the lic applied for you. :-)

Link to comment
Share on other sites

Oh, sorry...i´m still new to emby, didn´t now that also plugins are under scheduled tasks :)

It is working now, thanks again for helping me!

 

No worries! and really no need to apologise! my plugins have a dead of night schedule to them so they would have run themselves automatically but manual gets you what you want faster! :-) 

Link to comment
Share on other sites

No, not everyone takes the time to follow-up on their issue and tell us how they resolved it, so i like to thank people when they do.

Link to comment
Share on other sites

No, not everyone takes the time to follow-up on their issue and tell us how they resolved it, so i like to thank people when they do.

I don't think I've had that once. I guess i get all the good ones. :-)

Link to comment
Share on other sites

  • 3 weeks later...
wirehack7

I have an issue since the last Emby Update (using Emby Version 3.0.8100.0):

2016-10-16 18:12:19.4392 Info App: TV Theme Songs ffmpeg params : -i "/var/lib/emby-server/cache/temp/9e382910-8396-4e23-8ed7-4835ba484fde.tmp" -acodec libmp3lame -ac 2 -ar 44100 -ab 128000 -af "volume=-8dB" "/var/lib/emby-server/cache/temp/9e382910-8396-4e23-8ed7-4835ba484fde.tmp.mp3
2016-10-16 18:12:19.4392 Error App: ffmpeg exception = 
	*** Error Report ***
	Version: 3.0.8100.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.16.0.4
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 15:47:09 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	ApplicationName='/var/lib/emby-server/ffmpeg/20160215/ffmpeg', CommandLine='-i "/var/lib/emby-server/cache/temp/9e382910-8396-4e23-8ed7-4835ba484fde.tmp" -acodec libmp3lame -ac 2 -ar 44100 -ab 128000 -af "volume=-8dB" "/var/lib/emby-server/cache/temp/9e382910-8396-4e23-8ed7-4835ba484fde.tmp.mp3', CurrentDirectory='', Native error= Success
	System.ComponentModel.Win32Exception
	  at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) <0x415713b0 + 0x00603> in <filename unknown>:0 
	
2016-10-16 18:12:19.4392 Info App: TV Theme Songs - Audio Normalise Failed. Falling back to original download
2016-10-16 18:12:19.4410 Error App: Error downloading tv theme song for American Dad
	*** Error Report ***
	Version: 3.0.8100.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.16.0.4
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 15:47:09 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Access to the path is denied.
	System.UnauthorizedAccessException
	  at System.IO.File.Move (System.String sourceFileName, System.String destFileName) <0x7fbc43619de0 + 0x002f0> in <filename unknown>:0 
	  at MediaBrowser.Plugins.ThemeSongs.Search.LocalThemeSongDownloader+<DownloadThemeSongForItem>d__1.MoveNext () <0x419e0070 + 0x0121c> in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fbc434b72a0 + 0x00029> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fbc434b5170 + 0x000a7> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fbc434b50f0 + 0x0006b> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fbc434b50a0 + 0x0003a> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7fbc434b56e0 + 0x00012> in <filename unknown>:0 
	  at MediaBrowser.Plugins.ThemeSongs.ScheduledTasks.LocalThemeSongDownloadTask+<Execute>d__8.MoveNext () <0x41ad7a30 + 0x01964> in <filename unknown>:0 
	
2016-10-16 18:12:19.4412 Info HttpClient: HttpClientManager GET: http://ballingtons.com/s/?n=Elfen Lied&t=75941
2016-10-16 18:12:19.5057 Info HttpClient: HttpClientManager GET: http://www.televisiontunes.com/E-theme-songs.html
2016-10-16 18:12:23.9107 Info HttpClient: HttpClientManager GET: http://televisiontunes.com/Elfen_Lied_-_Lilium.html
2016-10-16 18:12:24.7571 Info App: Found tv theme song http://televisiontunes.com/uploads/audio/Elfen Lied - Lilium.mp3 for Elfen Lied
2016-10-16 18:12:24.7574 Info HttpClient: HttpClientManager.GetTempFileResponse url: http://televisiontunes.com/uploads/audio/Elfen Lied - Lilium.mp3
2016-10-16 18:12:29.4177 Info App: Moving /var/lib/emby-server/cache/temp/b8b301b7-3656-48ef-a11c-7646e827fcc6.tmp to /home/pyload/Library/Series/Elfenlied/theme.mp3
2016-10-16 18:12:29.4177 Info App: TV Theme Songs ffmpeg path : /var/lib/emby-server/ffmpeg/20160215/ffmpeg
2016-10-16 18:12:29.4177 Info App: TV Theme Songs ffmpeg params :  -i "/var/lib/emby-server/cache/temp/b8b301b7-3656-48ef-a11c-7646e827fcc6.tmp" -t 10 -af volumedetect -f null –
2016-10-16 18:12:29.7800 Info App: TV Theme Songs ffmpeg path : /var/lib/emby-server/ffmpeg/20160215/ffmpeg
2016-10-16 18:12:29.7800 Info App: TV Theme Songs ffmpeg params : -i "/var/lib/emby-server/cache/temp/b8b301b7-3656-48ef-a11c-7646e827fcc6.tmp" -acodec libmp3lame -ac 2 -ar 44100 -ab 128000 -af "volume=-15dB" "/var/lib/emby-server/cache/temp/b8b301b7-3656-48ef-a11c-7646e827fcc6.tmp.mp3
2016-10-16 18:12:29.7802 Error App: ffmpeg exception = 
	*** Error Report ***
	Version: 3.0.8100.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.16.0.4
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 15:47:09 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	ApplicationName='/var/lib/emby-server/ffmpeg/20160215/ffmpeg', CommandLine='-i "/var/lib/emby-server/cache/temp/b8b301b7-3656-48ef-a11c-7646e827fcc6.tmp" -acodec libmp3lame -ac 2 -ar 44100 -ab 128000 -af "volume=-15dB" "/var/lib/emby-server/cache/temp/b8b301b7-3656-48ef-a11c-7646e827fcc6.tmp.mp3', CurrentDirectory='', Native error= Success
	System.ComponentModel.Win32Exception
	  at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) <0x415713b0 + 0x00603> in <filename unknown>:0 
	
2016-10-16 18:12:29.7802 Info App: TV Theme Songs - Audio Normalise Failed. Falling back to original download
2016-10-16 18:12:29.7802 Error App: Error downloading tv theme song for Elfen Lied
	*** Error Report ***
	Version: 3.0.8100.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.16.0.4
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 15:47:09 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
	Access to the path is denied.
	System.UnauthorizedAccessException
	  at System.IO.File.Move (System.String sourceFileName, System.String destFileName) <0x7fbc43619de0 + 0x002f0> in <filename unknown>:0 
	  at MediaBrowser.Plugins.ThemeSongs.Search.LocalThemeSongDownloader+<DownloadThemeSongForItem>d__1.MoveNext () <0x419e0070 + 0x0121c> in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fbc434b72a0 + 0x00029> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fbc434b5170 + 0x000a7> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fbc434b50f0 + 0x0006b> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fbc434b50a0 + 0x0003a> in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7fbc434b56e0 + 0x00012> in <filename unknown>:0 
	  at MediaBrowser.Plugins.ThemeSongs.ScheduledTasks.LocalThemeSongDownloadTask+<Execute>d__8.MoveNext () <0x41ad7a30 + 0x01964> in <filename unknown>:0 

Themes are no longer saved. How can this error be resolved? Thanks for help!

Link to comment
Share on other sites

radeon

Hey @@wirehack7! I'm on holiday in mexico at the minute with noting but a mobile phone so I'll be able to look at this in full detail when I get back after the 24th. In the meantime try turning off audio normalisation within the plugins config and see if that stops the errors. 

 

It's not a fix but will give me a pointer on the issue and get you your themes in the meantime. 

 

Cheers!

  • Like 1
Link to comment
Share on other sites

wirehack7

Hey @@wirehack7! I'm on holiday in mexico at the minute with noting but a mobile phone so I'll be able to look at this in full detail when I get back after the 24th. In the meantime try turning off audio normalisation within the plugins config and see if that stops the errors. 

 

It's not a fix but will give me a pointer on the issue and get you your themes in the meantime. 

 

Cheers!

 

No problem. Enjoy your stay in Mexico. Thanks for the tip!

Link to comment
Share on other sites

  • 2 weeks later...
radeon

Hey all! So good news and bad news! 

 

I've just pushed an update for all 4 plugins to bring it all in line with some changes in the new server version coming out soon. These were breaking changes for them so I wanted to make sure they get in before messing with the existing stuff. 

 

I have a few issues I want/need to work out and I'm also thinking of moving hosts for the media as looking at some of my server logs, it would appear that the current host is spending more time offline than on! 

 

Some of you may also be interested to know the YTrailers plugin has been updated too. You'll just need to manually download the latest dll from my site and overwrite the old one:

 

http://www.ballingtons.com/products

 

For those of you that don't know, YTtrailers is an unofficial plugin which Downloads Trailers from YouTube for your movies and stores them locally with your collection

 

Once the new server version has been rolled out (of if you're on beta/dev), you will get the new version. 

 

Cheers! Radeon

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...