TeamB 2353 Posted December 28, 2023 Share Posted December 28, 2023 (edited) This is a simple plugin that adds a Scheduled Task to Emby that will prob/extract media metadata from STRM file targets. Why do you need this? By default, when you use STRM files in Emby it will not prob the target file that is pointed to by the STRM, this is mainly for library scan performance reasons but does leave holes in your library media metadata like durations, stream info etc. This plugin will try to plug the holes by prompting Emby to do a deep remote prob on the strm target files. This is going to be slow if you have a lot of Strm files in your system, and even slower if the streams are remote. The scan only needs to happen once for each strm file so if you run this daily then you should be ok as it will only process new strm files with no media metadata. To use it install the plugin from the catalogue and look in the Schedule Tasks, there should be a new one. Source Code https://github.com/faush01/StrmExtract Edited December 29, 2023 by TeamB 3 3 Link to comment Share on other sites More sharing options...
GrimReaper 3308 Posted December 28, 2023 Share Posted December 28, 2023 Great addition, @TeamB. Link to comment Share on other sites More sharing options...
grimevil 54 Posted December 29, 2023 Share Posted December 29, 2023 (edited) Just what I needed, perfect, thanks!! With my set up, it may finish running by this time next year! Edited December 29, 2023 by grimevil Link to comment Share on other sites More sharing options...
TeamB 2353 Posted December 29, 2023 Author Share Posted December 29, 2023 1 hour ago, grimevil said: Just what I needed, perfect, thanks!! With my set up, it may finish running by this time next year! it would be interesting to hear your feedback on performance, check the emby log and it will show you progress. you can also stop the task at any time and start it up again with no issues, it will just start where it left off. Link to comment Share on other sites More sharing options...
crusher11 854 Posted December 29, 2023 Share Posted December 29, 2023 The developer info in the catalogue currently reads "null_pointer", just FYI. Link to comment Share on other sites More sharing options...
TeamB 2353 Posted December 29, 2023 Author Share Posted December 29, 2023 5 minutes ago, crusher11 said: The developer info in the catalogue currently reads "null_pointer", just FYI. yep, that's my user name, its the same for all my plugins in the catalogue Link to comment Share on other sites More sharing options...
grimevil 54 Posted December 29, 2023 Share Posted December 29, 2023 2 hours ago, TeamB said: it would be interesting to hear your feedback on performance, check the emby log and it will show you progress. you can also stop the task at any time and start it up again with no issues, it will just start where it left off. Will let you know as I have over 10K of strm files. But so far it is working fine, I can see when they have been picked up as it shows the overlays on them in the top right. Link to comment Share on other sites More sharing options...
kyma 8 Posted January 8 Share Posted January 8 (edited) Hi Thanks for great job Just wonder can we have an update to be able to sperate the job For example to be able to do run the plugin for specific folders , for huge categories it's gonna be very useful function. Cheers Edited January 8 by kyma Link to comment Share on other sites More sharing options...
TeamB 2353 Posted January 9 Author Share Posted January 9 On 1/9/2024 at 2:24 AM, kyma said: Hi Thanks for great job Just wonder can we have an update to be able to sperate the job For example to be able to do run the plugin for specific folders , for huge categories it's gonna be very useful function. Cheers How would this help? You only need to have the extract (prob) happen once for an item and you can stop and start the scheudle task as many times as you want, it will eventually finish all your items. Just let it run, once it is finished the next run will just process new items. 1 Link to comment Share on other sites More sharing options...
grimevil 54 Posted January 15 Share Posted January 15 Quick update, worked perfectly and all 10K plus links have all been updated and it now runs on new files. thank you! 1 Link to comment Share on other sites More sharing options...
liwenliang926 0 Posted January 23 Share Posted January 23 Excuse me, where can I download the DLL file Link to comment Share on other sites More sharing options...
TeamB 2353 Posted January 23 Author Share Posted January 23 3 hours ago, liwenliang926 said: Excuse me, where can I download the DLL file what dll? if you are referring to the plugin just install it from the plugin catalogue. Link to comment Share on other sites More sharing options...
sundevil67 21 Posted January 29 Share Posted January 29 Forgive me if this is a bit too OT, but this seems like a good thread in which to post this, where the topic is STRM-adjacent at least. I have a link to an m3u8 file, updated regularly by my IPTV provider with new programming. I can add it as a source in the LiveTV section, resulting in a bunch of files being added, labeled according to their IMDB IDs (see attached). The ideal scenario would be some way to batch-identify these files based on the IMDB ID, but the "Identify" function isn't available from the LiveTV area anyway. Since this is something I know a lot of users would find very, very useful, so I figured I'd check in and see if anyone's made any progress on a plugin (or AppleScript?), or any kind of solution since I looked last. It seems simple on its surface - extract paths from that XML file, generate a STRM file, paste path, and either add metadata or organize it in some fashion that'd enable Emby to recognize them & get them to show up in a separate library or wherever. It really does sound like something that can be done with AppleScript, but still over my head to actually produce. Thanks! Link to comment Share on other sites More sharing options...
TeamB 2353 Posted January 29 Author Share Posted January 29 @sundevil67 you will probably get more traction on this is you create a new thread. Or a feature request in the feature request forum. Link to comment Share on other sites More sharing options...
sundevil67 21 Posted February 3 Share Posted February 3 On 1/28/2024 at 7:05 PM, TeamB said: @sundevil67 you will probably get more traction on this is you create a new thread. Or a feature request in the feature request forum. Thanks... I am pretty sure what I want here isn't going to be on the to-do list, but maybe @Lukewill be able to take a moment & confirm without starting a whole new topic Poor guy is a victim of his own responsiveness if that's a word lol Link to comment Share on other sites More sharing options...
Luke 37095 Posted February 3 Share Posted February 3 On 1/28/2024 at 7:28 PM, sundevil67 said: Forgive me if this is a bit too OT, but this seems like a good thread in which to post this, where the topic is STRM-adjacent at least. I have a link to an m3u8 file, updated regularly by my IPTV provider with new programming. I can add it as a source in the LiveTV section, resulting in a bunch of files being added, labeled according to their IMDB IDs (see attached). The ideal scenario would be some way to batch-identify these files based on the IMDB ID, but the "Identify" function isn't available from the LiveTV area anyway. Since this is something I know a lot of users would find very, very useful, so I figured I'd check in and see if anyone's made any progress on a plugin (or AppleScript?), or any kind of solution since I looked last. It seems simple on its surface - extract paths from that XML file, generate a STRM file, paste path, and either add metadata or organize it in some fashion that'd enable Emby to recognize them & get them to show up in a separate library or wherever. It really does sound like something that can be done with AppleScript, but still over my head to actually produce. Thanks! If that's the data in the m3u then that's what you'll get in Emby. Maybe you can find some other external tool to process the m3u, convert it to something better, and then import that into Emby. Link to comment Share on other sites More sharing options...
sundevil67 21 Posted February 3 Share Posted February 3 7 minutes ago, Luke said: If that's the data in the m3u then that's what you'll get in Emby. Maybe you can find some other external tool to process the m3u, convert it to something better, and then import that into Emby. I think there'd still need to be a plugin for Emby that could batch-identify according to the IMDB ID... Applescript could probably do it on this end but it's only really worth it if it's on the fly. Not sure; just was wondering if anyone else had been working on this programmatically, as i know there are some others who have a similar issue... Unless it's 'off the shelf' though, I can't really mess with it. Link to comment Share on other sites More sharing options...
Chillout 85 Posted March 2 Share Posted March 2 First of all, I really like this plug-in! So thanks for making it! Is there a way not to display the url that also contains the login credentials? Honestly, not sure if this an Emby or plugin issue... Thanks Link to comment Share on other sites More sharing options...
grimevil 54 Posted March 2 Share Posted March 2 7 hours ago, Chillout said: First of all, I really like this plug-in! So thanks for making it! Is there a way not to display the url that also contains the login credentials? Honestly, not sure if this an Emby or plugin issue... Thanks That is an Emby issue and not the plugin, it is showing the location/file information of the media. Link to comment Share on other sites More sharing options...
soderlund91 4 Posted March 5 Share Posted March 5 On 2/3/2024 at 7:05 PM, sundevil67 said: I think there'd still need to be a plugin for Emby that could batch-identify according to the IMDB ID... Applescript could probably do it on this end but it's only really worth it if it's on the fly. Not sure; just was wondering if anyone else had been working on this programmatically, as i know there are some others who have a similar issue... Unless it's 'off the shelf' though, I can't really mess with it. You wanna check out the m2strm, it's f-ing amazing and exactly what you are looking for. PM me if you need help or guidance. Now, On topic. Thx for this tool! Currently running through my 12600 movies and 4000 series (99500 episodes). Progress is about 1% per hour. Link to comment Share on other sites More sharing options...
sundevil67 21 Posted March 6 Share Posted March 6 5 hours ago, soderlund91 said: You wanna check out the m2strm, it's f-ing amazing and exactly what you are looking for. PM me if you need help or guidance. Now, On topic. Thx for this tool! Currently running through my 12600 movies and 4000 series (99500 episodes). Progress is about 1% per hour. Mac user part of the problem :( Link to comment Share on other sites More sharing options...
sundevil67 21 Posted March 6 Share Posted March 6 (edited) 20 hours ago, soderlund91 said: You wanna check out the m2strm, it's f-ing amazing and exactly what you are looking for. PM me if you need help or guidance. Now, On topic. Thx for this tool! Currently running through my 12600 movies and 4000 series (99500 episodes). Progress is about 1% per hour. So I installed an application that allows me to run .exe files in MacOS. When I launch the file, a terminal window pops up & immediately disappears. The only preparation was putting the M3U file in the same directory. I'm sure I'm missing something... do I just need a spare Windows box to run this thing ? Edited March 6 by sundevil67 Link to comment Share on other sites More sharing options...
soderlund91 4 Posted March 6 Share Posted March 6 1 hour ago, sundevil67 said: So I installed an application that allows me to run .exe files in MacOS. When I launch the file, a terminal window pops up & immediately disappears. The only preparation was putting the M3U file in the same directory. I'm sure I'm missing something... do I just need a spare Windows box to run this thing ? Have should not run the file as is i think. Go via the terminal and from there execute. But lets not hijack this thread. Either PM me for help or there is a dedicated thread on this forum: Link to comment Share on other sites More sharing options...
crusher11 854 Posted March 30 Share Posted March 30 Is this not set up to probe Extras? I have lots of strm files as extras and none have any media info, the scheduled task is taking less than a second to complete. Not sure if there's an issue or if the plug-in just isn't looking in the first place. Link to comment Share on other sites More sharing options...
TeamB 2353 Posted March 30 Author Share Posted March 30 1 hour ago, crusher11 said: Is this not set up to probe Extras? I have lots of strm files as extras and none have any media info, the scheduled task is taking less than a second to complete. Not sure if there's an issue or if the plug-in just isn't looking in the first place. the plugin does not include extras Link to comment Share on other sites More sharing options...
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