quickmic 1703 Posted January 13, 2024 Posted January 13, 2024 (edited) @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 January 13, 2024 by quickmic
Painkiller88 248 Posted February 28, 2024 Posted February 28, 2024 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
radeon 755 Posted February 28, 2024 Author Posted February 28, 2024 (edited) 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 February 28, 2024 by radeon
cbdudek 17 Posted February 28, 2024 Posted February 28, 2024 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?
radeon 755 Posted February 28, 2024 Author Posted February 28, 2024 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 1
cbdudek 17 Posted February 28, 2024 Posted February 28, 2024 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.
Painkiller88 248 Posted February 28, 2024 Posted February 28, 2024 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
radeon 755 Posted February 28, 2024 Author Posted February 28, 2024 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. 1 1
Painkiller88 248 Posted February 28, 2024 Posted February 28, 2024 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
radeon 755 Posted February 28, 2024 Author Posted February 28, 2024 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.
radeon 755 Posted February 29, 2024 Author Posted February 29, 2024 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. 1
radeon 755 Posted February 29, 2024 Author Posted February 29, 2024 (edited) Movie Theme Songs Update Released 1.8.1.0 Fixes the config screens not loading correctly. Edited February 29, 2024 by radeon 1
gihayes 47 Posted March 1, 2024 Posted March 1, 2024 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.
gihayes 47 Posted March 1, 2024 Posted March 1, 2024 Just rebooted the computer and all is well now. Thanks. Still can't set volume to -30 tho.
AndyWorth 0 Posted March 26, 2024 Posted March 26, 2024 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?
AndyWorth 0 Posted March 27, 2024 Posted March 27, 2024 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.
pgriffith 88 Posted May 19, 2024 Posted May 19, 2024 Hi John Bought your plugins back in 2012, so quite some time ago They are currently showing as in trial mode, my Emby supporter email and my PayPal email haven't changed over the years. There's been quite a few rebuilds as you can imagine, what do I need to do to get things running again? I still have the original email confirmations from when I purchased, and you did reissue me some new keys a year or so after the fact when I replaced my server.
radeon 755 Posted May 19, 2024 Author Posted May 19, 2024 3 minutes ago, pgriffith said: Hi John Bought your plugins back in 2012, so quite some time ago They are currently showing as in trial mode, my Emby supporter email and my PayPal email haven't changed over the years. There's been quite a few rebuilds as you can imagine, what do I need to do to get things running again? I still have the original email confirmations from when I purchased, and you did reissue me some new keys a year or so after the fact when I replaced my server. Ah, I guess you missed this: https://emby.media/community/index.php?/topic/2007-movie-theme-videos-plugin-questions-and-support-thread/page-35&do=findComment&comment=587018 https://emby.media/community/index.php?/topic/2007-movie-theme-videos-plugin-questions-and-support-thread/page-35&do=findComment&comment=587380 The plugins were completely rewritten when the main core was changed to .net core. I essentially put out a poll to get people's views on what I should do about an upgrade path and It was agreed that it would be a repurchase. This was back all back in 2018. Cheers!
pgriffith 88 Posted May 19, 2024 Posted May 19, 2024 (edited) Fair enough, I did miss that Just purchased the Pack. Edited May 19, 2024 by pgriffith
Scott310 137 Posted May 19, 2024 Posted May 19, 2024 Hey @radeonare we by any chance any closer to being able to identify when someone uploads a trailer into backdrops and stopping it from uploading to the network? Or maybe even a way we can vote down certain backdrops if they don't adhere to the standard of a backdrop? Everytime I run the plugin now for a new movie I have to remove the trailer that someone uploaded from backdrops. But then this also (if I'm not mistaken) tells the system that a backdrop has already been uploaded and downloaded for that movie so if someone like myself uploads the proper backdrop it will already have one in it's place - the trailer. It would be great if there was a way to clean this up or at least stop trailers from being uploaded if that is what someone wants to do.
pgriffith 88 Posted May 20, 2024 Posted May 20, 2024 Should I have an Upload Local TV Theme Songs under Radeon's Tools in scheduled tasks? Because I do not. I have 7 tasks in total for downloading and uploading everything else. I've added some of my own TV Theme Songs and want to share them with the Contributors Network.
cbdudek 17 Posted May 21, 2024 Posted May 21, 2024 I realized that I haven't downloaded any new Local Movie Theme Videos in the last couple years. So over the weekend I ran the scheduled task manually. It made it to 25% and was stuck for 24 hours. So I terminated the task, and I had to restart the server to get it to stop. I then kicked it off again yesterday. It made it to 19% and froze. I just stopped it again. Anyone having an issue downloading the Local Movie Theme Videos? Any ideas?
cbdudek 17 Posted May 30, 2024 Posted May 30, 2024 (edited) Just a followup to this. I have been running it off and on over the past several days. It has never fully finished. Today it got to 69.8% and froze. I am wondering if I should just setup a terminate process trigger in the Local Movie Theme Videos process that I created in scheduled tasks. I honestly don't know what the cause of the freeze is, but I can upload logs if that would help. Which logs would you need to troubleshoot? On a side note, if I try to stop the task, the task never ends. It just says "stopping" and it stays stuck. The only way to get the service to completely stop is to restart the emby service. Edited May 30, 2024 by cbdudek
radeon 755 Posted July 6, 2024 Author Posted July 6, 2024 Hey all, I'm heartbroken to say my dad passed away on Monday 1st July after a 6 year battle with heart attacks, an Abdominal Aortic Aneurysm, Parkinsons and Progressive Supranuclear Palsy. I'm going to be taking some time out from everything for a while. Don't worry, I'm not going anywhere for long and will return in the coming weeks, I just need to take some time for all the usual reasons you'd expect. Please bear with me. I will be back. 4
apachelance 12 Posted July 19, 2024 Posted July 19, 2024 (edited) I hope radeon is well. I have an issue with the Movie Theme plugin. I am running emby on a Proxmox server in a container. The movie library is located on a NAS which is connected via NFS to the emby server. Playback and even deleting movies through the emby user interface is just fine. However downloading movie themes is not working in many cases. Example log attached. To me it looks like that the download from mediafire itself is working and the downloaded song is converted but the download/transfer to the NAS is not working. Maybe a script failure (ffmpeg) or an issue with folder rights (cache/temp) or the cached file is deleted before it can be downloaded/moved to the NAS? However after ffmpeg normalised the file successfuly the temporary file cannot be found according to the log. Anybody has an idea how to fix it? 2024-07-19 19:24:41.577 Info HttpClient: GET http://www.mediafire.com/download/wpquh0p0f7gloik 2024-07-19 19:24:41.916 Info App: Movie Theme Songs - Found movie theme song for Atlas 2024-07-19 19:24:41.916 Info HttpClient: GetTempFileResponse url: http://download2291.mediafire.com/89i79950ychgUG47GKvhDW1odSBVhP18mN8GhCShc1VXvvVKkCkjgw2LGQxLvTFx4dUM7r7VHlvDrmtvPSqVvMGG1loUXfClNVJ2Wdw-Pd-ZszBWSJJ4LUKPxXvBOurNHZ5Tc3rA7FCcrxor4qJbvjfVVRy66fjeUTVW52caodc/wpquh0p0f7gloik 2024-07-19 19:24:41.916 Info HttpClient: GET http://download2291.mediafire.com/89i79950ychgUG47GKvhDW1odSBVhP18mN8GhCShc1VXvvVKkCkjgw2LGQxLvTFx4dUM7r7VHlvDrmtvPSqVvMGG1loUXfClNVJ2Wdw-Pd-ZszBWSJJ4LUKPxXvBOurNHZ5Tc3rA7FCcrxor4qJbvjfVVRy66fjeUTVW52caodc/wpquh0p0f7gloik 2024-07-19 19:28:22.772 Info App: Movie Theme Songs - Moving /var/lib/emby/cache/temp/787c9929-93bf-4392-ae6c-9e9cecec9219.tmp to /mnt/synology/test/A/Atlas (2024)/theme.x-matroska 2024-07-19 19:28:22.772 Info App: Movie Theme Songs ffmpeg path : /opt/emby-server/bin/ffmpeg 2024-07-19 19:28:22.772 Info App: Movie Theme Songs ffmpeg params : -i "/var/lib/emby/cache/temp/787c9929-93bf-4392-ae6c-9e9cecec9219.tmp" -t 10 -af volumedetect -f null – 2024-07-19 19:28:26.878 Info App: Movie Theme Songs ffmpeg path : /opt/emby-server/bin/ffmpeg 2024-07-19 19:28:26.878 Info App: Movie Theme Songs ffmpeg params : -i "/var/lib/emby/cache/temp/787c9929-93bf-4392-ae6c-9e9cecec9219.tmp" -acodec libmp3lame -ac 2 -ar 44100 -ab 128000 -af "volume=-15dB" "/var/lib/emby/cache/temp/787c9929-93bf-4392-ae6c-9e9cecec9219.tmp.x-matroska 2024-07-19 19:28:26.885 Info App: Movie Theme Songs - Volume Normalised Successfully 2024-07-19 19:28:26.892 Error App: Movie Theme Songs - Error downloading file from host *** Error Report *** Version: 4.8.8.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.8.8-3-pve (build@proxmox) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX 6.8.8-3 (2 Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 2 Data path: /var/lib/emby Application path: /opt/emby-server/system System.IO.FileNotFoundException: System.IO.FileNotFoundException: Could not find file '/var/lib/emby/cache/temp/787c9929-93bf-4392-ae6c-9e9cecec9219.tmp.x-matroska'. File name: '/var/lib/emby/cache/temp/787c9929-93bf-4392-ae6c-9e9cecec9219.tmp.x-matroska' at System.IO.File.Move(String sourceFileName, String destFileName, Boolean overwrite) at System.IO.File.Move(String sourceFileName, String destFileName) at MovieThemeSongs.Search.LocalMovieThemeSongDownloader.DownloadMovieThemeSongForItem(BaseItem item, CancellationToken cancellationToken, String html, String data, String uploadedhtml, ILibraryManager libraryManager) Source: System.Private.CoreLib TargetSite: Void Move(System.String, System.String, Boolean) Edited July 19, 2024 by apachelance
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now