Jump to content

Movie Theme Songs Plugin Questions and Support Thread


radeon

Recommended Posts

quickmic

@radeon

Is it possible to embed id3v2 and mp4 tags in e.g. theme files? e.g. theme.mp3

I query Emby's metadata info from theme files and Emby reports (e.g. for Content "Audio") "name" as "theme".

Would be nice if the "Name" would be e.g. "Big Bang therory - Theme" as "Name"

 

{
   "Name":"theme",
   "ServerId":"2a38697ffc1b428b943aa1b6014e2263",
   "Id":"24461",
   "DateCreated":"2023-05-21T08:36:32.0000000Z",
   "Container":"mp3",
   "SortName":"theme",
   "MediaSources":[
      {
         "Protocol":"File",
         "Id":"429fd7bf0512b52964f656088209a7e4",
         "Path":"/mnt/storage0/multimedia/series/B/Big Bang Theory/theme.mp3",
         "Type":"Default",
         "Container":"mp3",
         "Size":321500,
         "Name":"theme",
         "IsRemote":false,
         "RunTimeTicks":200620410,
         "SupportsTranscoding":true,
         "SupportsDirectStream":true,
         "SupportsDirectPlay":true,
         "IsInfiniteStream":false,
         "RequiresOpening":false,
         "RequiresClosing":false,
         "RequiresLooping":false,
         "SupportsProbing":false,
         "MediaStreams":[
            {
               "Codec":"mp3",
               "TimeBase":"1/14112000",
               "DisplayTitle":"MP3 stereo",
               "IsInterlaced":false,
               "ChannelLayout":"stereo",
               "BitRate":128000,
               "Channels":2,
               "SampleRate":44100,
               "IsDefault":false,
               "IsForced":false,
               "IsHearingImpaired":false,
               "Type":"Audio",
               "Index":0,
               "IsExternal":false,
               "IsTextSubtitleStream":false,
               "SupportsExternalStream":false,
               "Protocol":"File",
               "ExtendedVideoType":"None",
               "ExtendedVideoSubType":"None",
               "ExtendedVideoSubTypeDescription":"None",
               "AttachmentSize":0
            }
         ],
         "Formats":[
            
         ],
         "Bitrate":128202,
         "RequiredHttpHeaders":{
            
         },
         "ReadAtNativeFramerate":false,
         "DefaultAudioStreamIndex":0
      }
   ],
   "Path":"/mnt/storage0/multimedia/series/B/Big Bang Theory/theme.mp3",
   "Overview":"What happens when hyperintelligent roommates Sheldon and Leonard meet Penny, a free-spirited beauty moving in next door, and realize they know next to nothing about life outside of the lab. Rounding out the crew are the smarmy Wolowitz, who thinks he's as sexy as he is brainy, and Koothrappali, who suffers from an inability to speak in the presence of a woman.",
   "Genres":[
      "Comedy"
   ],
   "RunTimeTicks":200620410,
   "Size":321500,
   "Bitrate":128202,
   "ProviderIds":{
      
   },
   "IsFolder":false,
   "Type":"Audio",
   "GenreItems":[
      {
         "Name":"Comedy",
         "Id":16191
      }
   ],
   "ParentLogoItemId":"24402",
   "ParentBackdropItemId":"24402",
   "ParentBackdropImageTags":[
      "4fe6275da98ef42e707a58b8ce816d02",
      "af4119e0db04bdef8c5cde21ec95ac71",
      "104d5eb6c5decb5981be1a6219a564f8",
      "7dec4786473cab9afdcfeda2a365ca74",
      "625a1ac48af7267d118d30de971a1378",
      "b8ed5e4357a6c4e84009cffd37a9ae41",
      "10ff787d4371ead6655c1e8984942c54",
      "73c86e0af81d54201907e78e0d40c157",
      "f69005ddd911bfb8898b58e93762bd62",
      "f8dab329ae6f3de0b1d3b43d887c4247"
   ],
   "UserData":{
      "PlaybackPositionTicks":0,
      "PlayCount":4,
      "IsFavorite":false,
      "LastPlayedDate":"2024-01-13T16:07:40.0000000Z",
      "Played":true
   },
   "Artists":[
      
   ],
   "ArtistItems":[
      
   ],
   "Composers":[
      
   ],
   "AlbumArtists":[
      
   ],
   "MediaStreams":[
      {
         "Codec":"mp3",
         "TimeBase":"1/14112000",
         "DisplayTitle":"MP3 stereo",
         "IsInterlaced":false,
         "ChannelLayout":"stereo",
         "BitRate":128000,
         "Channels":2,
         "SampleRate":44100,
         "IsDefault":false,
         "IsForced":false,
         "IsHearingImpaired":false,
         "Type":"Audio",
         "Index":0,
         "IsExternal":false,
         "IsTextSubtitleStream":false,
         "SupportsExternalStream":false,
         "Protocol":"File",
         "ExtendedVideoType":"None",
         "ExtendedVideoSubType":"None",
         "ExtendedVideoSubTypeDescription":"None",
         "AttachmentSize":0
      }
   ],
   "ImageTags":{
      
   },
   "BackdropImageTags":[
      
   ],
   "ParentLogoImageTag":"68c9c04982fb43417cb6af719c59f136",
   "ParentThumbItemId":"24402",
   "ParentThumbImageTag":"cd9939f872891e79c715db4e0e4ca662",
   "MediaType":"Audio"
}

 

Edited by quickmic
Link to comment
Share on other sites

  • 1 month later...
Painkiller8818

Could it be the plugin is no longer working (movie theme songs and movie trailer plugin) the tv show theme song plugin is working but the other two seem to have a problem finding the index file and the yt trailer download plugin reports: The remote server returned an error: (500) Internal Server Error.


2024-02-28 19:49:49.318 Error App: Movie Theme Songs - Error downloading theme songs initial index file
2024-02-28 19:49:49.319 Info TaskManager: Download Local Movie Theme Songs Completed after 0 minute(s) and 0 seconds
2024-02-28 19:49:53.981 Info TaskManager: Executing Download Local YouTube Movie Trailers
2024-02-28 19:49:53.982 Info App: YTrailers Key: XXX
2024-02-28 19:49:54.239 Info HttpClient: GET https://www.theaudiodb.com/api/v1/json/2139078587215309723505/artist-mb.php?i=2c89e930-7769-403f-8145-f215bb8fb5ba
2024-02-28 19:49:54.628 Error App: YTrailers - Error
*** Error Report ***
Version: 4.8.1.0
Command line: C:\Users\Painkiller\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
Operating system: Microsoft Windows 10.0.19045
Framework: .NET 6.0.26
OS/Process: x64/x64
Runtime: C:/Users/Painkiller/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
Processor count: 16
Data path: C:\Users\Painkiller\AppData\Roaming\Emby-Server\programdata
Application path: C:\Users\Painkiller\AppData\Roaming\Emby-Server\system
System.Net.WebException: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at YTrailers.Licence.Validate.CheckActivation(String Key)
at YTrailers.ScheduledTasks.LocalYTrailersDownloadTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
Source: System.Net.Requests
TargetSite: System.Net.WebResponse GetResponse()
2024-02-28 19:49:54.628 Info TaskManager: Download Local YouTube Movie Trailers Completed after 0 minute(s) and 0 seconds


Any infos on this? 

Thanks

Link to comment
Share on other sites

radeon

A fix is being worked on right now, although I can't discuss the ytrailers plugin on the forums. 

The theme plugins only have issue with their config screens but are functioning right. You may have flashed with when the index file is being swapped out server side 

Edited by radeon
Link to comment
Share on other sites

cbdudek
3 minutes ago, radeon said:

A fix is being worked on right now, although I can't discuss the ytrailers plugin on the forums. 

If you don't mind me asking, why not?

Link to comment
Share on other sites

radeon
1 minute ago, cbdudek said:

If you don't mind me asking, why not?

It's not allowed in the emby catalog and isn't sold with any association to emby and they don't like it being discussed 

  • Facepalm 1
Link to comment
Share on other sites

cbdudek
3 minutes ago, radeon said:

It's not allowed in the emby catalog and isn't sold with any association to emby and they don't like it being discussed 

A little disappointing but I understand.  Thanks for taking the time to explain that.

Link to comment
Share on other sites

Painkiller8818
7 minutes ago, radeon said:

You may have flashed with when the index file is being swapped out server side

i haven't changed anything but now you mentioned it i checked in the two plugins and yes, all already downloaded movies are gone, so the list is empty.

How can i recreate an index file? As long as the files are still on my file system they don't get overwritten if i am right correct?

So i just want to get it back working, i don't need the list of all existing themes songs and movies.

Thanks

Link to comment
Share on other sites

radeon

The index file is generated server side and nothing to worry about. It generates when new themes are added to the host. 

The the config is broken since the new 4.8 update in terms of your ability to see what's what in the background but it doesn't affect downloads or use. It just prevents you from being able to clear the list and adjust some settings. It's still populating them in the background and the downloads are still functioning. I tested it just this morning. 

 

I have a new version practically done, I just need to bring over one last setting to a new config screen, get them tested and they'll be released. 👍

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Painkiller8818
2 minutes ago, radeon said:

The index file is generated server side and nothing to worry about. It generates when new themes are added to the host. 

The the config is broken since the new 4.8 update in terms of your ability to see what's what in the background but it doesn't affect downloads or use. It just prevents you from being able to clear the list and adjust some settings. It's still populating them in the background and the downloads are still functioning. I tested it just this morning. 

 

I have a new version practically done, I just need to bring over one last setting to a new config screen, get them tested and they'll be released. 👍

perfect thanks sounds good. i only noticed it because i started the task manually and it was finished immediately

Link to comment
Share on other sites

radeon
51 minutes ago, cbdudek said:

A little disappointing but I understand.  Thanks for taking the time to explain that.

It's all good. I totally get their reasons. Ha been like it in years. I also like to keep the threads clean and referencing their respective plugins. 

Link to comment
Share on other sites

radeon

I've just pushed an update for the TV Theme Videos plugin to bring the config pages in line with the new 4.8 of emby. If this doesn't have any major issues, I'll release for the others.

  • Like 1
Link to comment
Share on other sites

radeon

Movie Theme Songs Update Released 1.8.1.0 

Fixes the config screens not loading correctly.

Edited by radeon
  • Thanks 1
Link to comment
Share on other sites

gihayes

The TV Videos Working for me now.  Thanks.

The TV Songs, Movie Songs and Videos have updated, and I restarted, but they still behave the same.

Also, can only go to -15 for Max Audio Normalization. I used to be able to use -30.

Link to comment
Share on other sites

gihayes

Just rebooted the computer and all is well now. Thanks.

Still can't set volume to -30 tho.

Link to comment
Share on other sites

  • 4 weeks later...
AndyWorth

First off, thanks to John for sorting out a licence issue which I caused myself by misundertsanding the instructions!

So now to the problem...the movie plugin is not putting the theme.mp3 files in the correct place!

My set up consists of 3 QNAP NAS boxes. The emby server is on an all solid state NAS and the other 2 NAS boxes are storage for Movies & TV Shows (one of each).

The Movie theme plugin happily goes off and fetches the mp3s, but when it attempts to move them to the correct place it's not sending them across the network to the other NAS, it is creating a local folder instead and dropping them in there.

The library for movies is mapped as: smb://192.168.1.238/Movies and works fine, but the plugin in is trying to move to the network path, but instead creates a local folder.

This is what the log shows for the move: (only one / after the smb: - is this the problem?!)

Info App: Movie Theme Songs - Moving /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata/cache/temp/a921aa9e-3eef-4930-9f0f-6cb59b2c4a79.tmp to smb:/192.168.1.238/Movies/Bodies (2016)/theme.mp3

Poking around the emby NAS shows a new folder created here with all the theme.mp3s in correctly named movie folders:

/share/CACHEDEV1_DATA/.qpkg/EmbyServer/smb:/192.168.1.238

I also have the TV theme plugin but haven't yet set up the TV library on this server so cannot tell you if that has the same issue at the moment.

I can attach a full log if required, but it will be big & messy as currently building this new SSD server and importing the data.

Is the path something I can change? I can't be the only person with library media on a seperate NAS to the server?

Link to comment
Share on other sites

AndyWorth

I worked out last night this is a permissions problem I think. For some reason the Samba shares are not accessible NAS to NAS. Don't understand why yet and cannot for the life of me get CIFS/SMB working NAS to NAS either so am trying some iscsi magic now for the libraries.

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...