BigIrn 10 Posted April 30, 2025 Posted April 30, 2025 6 hours ago, mickle026 said: So basically you would like the underscores applying after the includes/ignores? Sure enough as soon as I posted this it finished. Nice.
sundevil67 28 Posted April 30, 2025 Posted April 30, 2025 19 hours ago, mickle026 said: Cool to see that it is downloading all the m3u files! 29.Apr.2025 - 12:52:22 Input File 1: https://****************/1 29.Apr.2025 - 12:52:22 Input File 1 is an Multi URL - attempting to get them all. 29.Apr.2025 - 12:52:23 Input File 1: https://****************/1 29.Apr.2025 - 12:52:23 Imput m3u Lines: 0 29.Apr.2025 - 12:52:24 Loading M3U file. 29.Apr.2025 - 12:52:24 Attempting to download file: https://****************/1 29.Apr.2025 - 12:52:25 Download Progress: 10% 29.Apr.2025 - 12:52:25 Download Progress: 20% 29.Apr.2025 - 12:52:25 Download Progress: 30% 29.Apr.2025 - 12:52:25 Download Progress: 40% 29.Apr.2025 - 12:52:25 Download Progress: 50% 29.Apr.2025 - 12:52:25 Download Progress: 60% 29.Apr.2025 - 12:52:25 Download Progress: 70% 29.Apr.2025 - 12:52:25 Download Progress: 80% 29.Apr.2025 - 12:52:25 Download Progress: 90% 29.Apr.2025 - 12:52:25 Download Progress: 100% 29.Apr.2025 - 12:52:25 Downloading & Loading m3u File Total execution time: 1770 ms 29.Apr.2025 - 12:52:25 Debugging: Input File 1 returned 10000 new lines. 29.Apr.2025 - 12:52:25 Debugging: Current Input m3u Lines: 10000 29.Apr.2025 - 12:52:27 Input File 2: https://****************/2 29.Apr.2025 - 12:52:27 Imput m3u Lines: 10000 29.Apr.2025 - 12:52:27 Loading M3U file. 29.Apr.2025 - 12:52:27 Attempting to download file: https://****************/2 29.Apr.2025 - 12:52:29 Download Progress: 10% 29.Apr.2025 - 12:52:29 Download Progress: 20% 29.Apr.2025 - 12:52:29 Download Progress: 30% 29.Apr.2025 - 12:52:29 Download Progress: 40% 29.Apr.2025 - 12:52:29 Download Progress: 50% 29.Apr.2025 - 12:52:29 Download Progress: 60% 29.Apr.2025 - 12:52:29 Download Progress: 70% 29.Apr.2025 - 12:52:29 Download Progress: 80% 29.Apr.2025 - 12:52:29 Download Progress: 90% 29.Apr.2025 - 12:52:29 Download Progress: 100% 29.Apr.2025 - 12:52:29 Downloading & Loading m3u File Total execution time: 1944 ms 29.Apr.2025 - 12:52:29 Debugging: Input File 2 returned 10000 new lines. 29.Apr.2025 - 12:52:29 Debugging: Current Input m3u Lines: 20000 29.Apr.2025 - 12:52:30 Input File 3: https://****************/3 29.Apr.2025 - 12:52:30 Imput m3u Lines: 20000 29.Apr.2025 - 12:52:30 Loading M3U file. 29.Apr.2025 - 12:52:30 Attempting to download file: https://****************/3 29.Apr.2025 - 12:52:31 Download Progress: 10% 29.Apr.2025 - 12:52:31 Download Progress: 20% 29.Apr.2025 - 12:52:31 Download Progress: 30% 29.Apr.2025 - 12:52:31 Download Progress: 40% 29.Apr.2025 - 12:52:31 Download Progress: 50% 29.Apr.2025 - 12:52:31 Download Progress: 60% 29.Apr.2025 - 12:52:31 Download Progress: 70% 29.Apr.2025 - 12:52:32 Download Progress: 80% 29.Apr.2025 - 12:52:32 Download Progress: 90% 29.Apr.2025 - 12:52:32 Download Progress: 100% 29.Apr.2025 - 12:52:32 Downloading & Loading m3u File Total execution time: 1271 ms 29.Apr.2025 - 12:52:32 Debugging: Input File 3 returned 10000 new lines. 29.Apr.2025 - 12:52:32 Debugging: Current Input m3u Lines: 30000 Did it stop/hang at this point, or is this log truncated (cut) to show me it downloading? Does it stop here every-time? Are you running emby in a container? 29.Apr.2025 - 17:57:11 =============== Item [9108/140278] ===== m3u read: 6.49%, ReadTime:05:03:06 ============== 29.Apr.2025 - 17:57:11 Debugging: Sanitize InputString: 'Big Nate (2022)' There is still an issue with your m3u because 'Big Nate (2022)' has many entries all, the same. The episode and season are not detected and I think it might be adding tv-shows as live-tv. This should not stop it processing though .... Hmmm.... If I had to guess, it was hanging on the "stopping..." part - when I stop the task, it just says that indefinitely. Another weird part is that while that was definitely the latest log, it must have been trying the "tvshows/2" link, if you saw that show. I'd had it set to use "tvshows/1", which doesn't include Big Nate, as it stops at 2023. I looked at "tvshows/2", which does include it (which I looked at & saw 2 seasons, 10 episodes each ...I didn't see any repetition, but maybe I'm missing something). No containers.
goin3d 4 Posted May 1, 2025 Posted May 1, 2025 I've attached the result of 1 season of 1 series that will always re-write when running the plugin over and over. The only weird thing i can see is that 1 episode is in the feed twice. Maybe someone else can spot some sort of pattern FileWriteDebugLogging [M3UToStrm]30.Apr.2025.txtScheduledTask-[M3UToStrm]_30.Apr.2025-17.26.54.txttest.m3u
mickle026 650 Posted May 1, 2025 Author Posted May 1, 2025 OK, I think all your requests are now complete @goin3d Now an option whether or not to re-write files that differ, there is not a huge lot I can do here. I have created a test for files that exist, if they do it wont overwrite them, but what is left is these duplicate entries that have a different url. You choose either to update urls or not. This will affect if anything else is updated to a new url location. So now if the output file already exists you can choose by unchecking the box, not to write the second file with a different url over it, this will affect any other urls that have changed. 01.May.2025 - 14:38:41 Debugging: [scanM3UFileAsync] m3uContents Contains: 26 Items. 01.May.2025 - 14:38:41 -----------------------[ Updating Output Folder ]------------------------------- 01.May.2025 - 14:38:41 Debugging: Setting Filesystem Update to 12 of 16 cores/threads to prevent system freeze. 01.May.2025 - 14:38:41 Debugging: Remove Obsolete Files: True. 01.May.2025 - 14:38:41 Debugging: Files to check: 15. 01.May.2025 - 14:38:41 Debugging: Remove Obsolete Files - Progress: 7.69%, Memory used: 26 MB. 01.May.2025 - 14:38:41 Debugging: Remove Obsolete Files - Progress: 46.15%, Memory used: 26 MB. 01.May.2025 - 14:38:41 Starting FileRemover: 0 Items to delete. 01.May.2025 - 14:38:41 Checking for folder deletion Tasks. 01.May.2025 - 14:38:41 Skipped root folder: D:\VODS\goig3d-test.m3u (contains .strm files or subfolders containing them). 01.May.2025 - 14:38:41 All delete tasks completed. 01.May.2025 - 14:38:41 All Updating tasks completed. 01.May.2025 - 14:38:41 Debugging: Item(s) count: 1 01.May.2025 - 14:38:41 Debugging: StrmsToWriteBag.Count=1 01.May.2025 - 14:38:41 Starting File Writer: 1 Items to write/update. 01.May.2025 - 14:38:41 Item [1] Already Exists! - I/O Queued for Overwwriting [TV Shows]: D:\VODS\goig3d-test.m3u\TV Shows\Mystery\Big Mouth\Season 01\Big_Mouth_S01_E08.strm 01.May.2025 - 14:38:41 Debugging: Fetch Images: False. 01.May.2025 - 14:38:41 Finished this import. 01.May.2025 - 14:38:41 Task Ended at: 01/05/2025 14:38:41 01.May.2025 - 14:38:41 Task Duration: 00:00:01.93 @BigIrn Finally found a place to put the string manipulations after ignore/includes so they behave as before adding underscores etc. The extra manipulations here were added when trying to find out what was causing re-writes so not much thought was given to where it should happen, but it seems ok now. Please test away VODtoSTRMscheduledTask.dll 1
mickle026 650 Posted May 1, 2025 Author Posted May 1, 2025 14 hours ago, sundevil67 said: Hmmm.... If I had to guess, it was hanging on the "stopping..." part - when I stop the task, it just says that indefinitely. Another weird part is that while that was definitely the latest log, it must have been trying the "tvshows/2" link, if you saw that show. I'd had it set to use "tvshows/1", which doesn't include Big Nate, as it stops at 2023. I looked at "tvshows/2", which does include it (which I looked at & saw 2 seasons, 10 episodes each ...I didn't see any repetition, but maybe I'm missing something). No containers. Here is the reason: (my doing , I am afraid) The cancel request from emby doesn't propagate down to all internal tasks, they are spun off on different cores and tasks for speed, most will run until they complete, I did not program that in as getting the plugin working properly was more important and implementing that is a big chore! (but it should be done - maybe eventually ....) So the main task would get cancelled, but it cannot complete the request until all other tasks finish. I hope that makes sense.
sundevil67 28 Posted May 1, 2025 Posted May 1, 2025 2 hours ago, mickle026 said: Here is the reason: (my doing , I am afraid) The cancel request from emby doesn't propagate down to all internal tasks, they are spun off on different cores and tasks for speed, most will run until they complete, I did not program that in as getting the plugin working properly was more important and implementing that is a big chore! (but it should be done - maybe eventually ....) So the main task would get cancelled, but it cannot complete the request until all other tasks finish. I hope that makes sense. Thanks... so I've just restarted the server & it looks like the "stopping" note has finally gone away. Hopefully that means all of the tasks have been squashed in the background. I've created a new library & am trying to run /tvshows/3 ... hopefully I'll report back with good news. Though when I trigger the task from the plugin page, then return to it, then my dashboard, scheduled tasks, etc. I can't tell if anything is actually running. I don't want to start creating more simultaneously running processes; how can I confirm it's started, or do I just leave it alone & check back later?
mickle026 650 Posted May 1, 2025 Author Posted May 1, 2025 (edited) 21 minutes ago, sundevil67 said: Thanks... so I've just restarted the server & it looks like the "stopping" note has finally gone away. Hopefully that means all of the tasks have been squashed in the background. I've created a new library & am trying to run /tvshows/3 ... hopefully I'll report back with good news. Though when I trigger the task from the plugin page, then return to it, then my dashboard, scheduled tasks, etc. I can't tell if anything is actually running. I don't want to start creating more simultaneously running processes; how can I confirm it's started, or do I just leave it alone & check back later? It will write a minimal log even when it's log settings are off. That contains started and finished and has a trigger time in the filename All plugins are injected into emby executable so when emby is restarted, everything is stopped. Edited May 1, 2025 by mickle026
Apotropaic 41 Posted May 1, 2025 Posted May 1, 2025 I've rebuilt my emby server, moved from a shared 22.04 ubuntu instance and upgraded to a new dedicated 24.04 instance. Memory and CPU are massively lower when using the plugin and emby in general so all good there. The plugin was hitting over 3gb before and now only consumes around an extra 1gb. I am getting M3U download failures on version .167 but not sure if it's my provider throttling me or the 24.04 Ubuntu as I never ran into this before. The first one will work fine but any others after will fail. Nothing much in the log except "Error: An error occurred while sending the request." I think I also have an issue where it is not writing out the strm's after doing the M3U split (which works fine). But I'm struggling to replicate because of the first issue!! Will give it an hour before I try again....
mickle026 650 Posted May 1, 2025 Author Posted May 1, 2025 51 minutes ago, jaspalgill said: I've rebuilt my emby server, moved from a shared 22.04 ubuntu instance and upgraded to a new dedicated 24.04 instance. Memory and CPU are massively lower when using the plugin and emby in general so all good there. The plugin was hitting over 3gb before and now only consumes around an extra 1gb. I am getting M3U download failures on version .167 but not sure if it's my provider throttling me or the 24.04 Ubuntu as I never ran into this before. The first one will work fine but any others after will fail. Nothing much in the log except "Error: An error occurred while sending the request." I think I also have an issue where it is not writing out the strm's after doing the M3U split (which works fine). But I'm struggling to replicate because of the first issue!! Will give it an hour before I try again.... Try downloading the m3u and running it from disk to see if the plugin will write out the strm files. It was fine for me when tested before posting but so far when everything's been fine for me some others have had issues.
Apotropaic 41 Posted May 1, 2025 Posted May 1, 2025 44 minutes ago, mickle026 said: Try downloading the m3u and running it from disk to see if the plugin will write out the strm files. It was fine for me when tested before posting but so far when everything's been fine for me some others have had issues. Will try that after this next run completes, thanks. I can see debug entries saying it is writing the strms but nothing in the directory at all, so something is preventing it. My permissions 'should' be good and the M3Us which go to a adjacent directory are fine. Unfortunately I didn't enable the Log I/O Operations debug, so I've turned that on for another go. 01.May.2025 - 19:20:21 Debugging AddToContentListAsync: folderName=/home/emby/Testing/Test4b/Library/Movies/EN - NEW RELEASE/The Little Mermaid (2023), fileName=The Little Mermaid (2023).strm, fileContents=http://xxxxx:80/movie/xxxxxxx/xxxxxx/508211.mp4 01.May.2025 - 19:20:21 Adding to Folder: /home/emby/Testing/Test4b/Library/Movies/EN - NEW RELEASE/The Little Mermaid (2023)
fbrassin 47 Posted May 1, 2025 Posted May 1, 2025 This latest version creates strm right and if i select do not update works fine. The only thing is that, if i enable to download jpg, emby crashes. At the end of the log you can see many "The request timed out. " that i think makes emby crash. Moreover i would like to refer this little error: #EXTINF:-1 tvg-id="" tvg-name="Sense8 S01 E01" tvg-logo="https://image.tmdb.org/t/p/w300/jkYFJXi3tXByIXRRRXcIN49yDEC.jpg" group-title="XXXXX",Sense8 S01 E01 http://XXXX/70180.mkv is saved as Sense8 S01 E01.strm without season folder. All episodes are not divided into seasons but are all in the Sense8 folder. Tnx so much ScheduledTask-[M3UToStrm]01.mag.2025 - 19.58.33.txt
sundevil67 28 Posted May 1, 2025 Posted May 1, 2025 4 hours ago, mickle026 said: It will write a minimal log even when it's log settings are off. That contains started and finished and has a trigger time in the filename All plugins are injected into emby executable so when emby is restarted, everything is stopped. I'm producing a detailed log here, but it's still not writing any files. Can you make heads or tails of this? I don't understand why it is including "LiveTV" anywhere in the log; as the library is definitely a "TV Show" type, and the M3U files have tvshow in all of the path names. Thanks for all of your due diligence! ScheduledTask-[M3UToStrm]_01.May.2025-09.55.15.txt.zip
BigIrn 10 Posted May 1, 2025 Posted May 1, 2025 4 hours ago, jaspalgill said: I am getting M3U download failures on version .167 but not sure if it's my provider throttling me or the 24.04 Ubuntu as I never ran into this bef Thank you for saying @jaspalgillthat. It has been driving me crazy I can't download my m3u but it works on m3u4u.com and this plugin works fine for me.
mickle026 650 Posted May 1, 2025 Author Posted May 1, 2025 1 hour ago, sundevil67 said: I'm producing a detailed log here, but it's still not writing any files. Can you make heads or tails of this? I don't understand why it is including "LiveTV" anywhere in the log; as the library is definitely a "TV Show" type, and the M3U files have tvshow in all of the path names. Thanks for all of your due diligence! ScheduledTask-[M3UToStrm]_01.May.2025-09.55.15.txt.zip 1.62 MB · 1 download I haven't download your log yet, I am on my phone at work at the moment. Your URLs are in the same format as live TV streaming URLs. So unless you have turned on the settings to identify using the URL (can't remember what it's called at the moment) they will be determined to be live TV and thus won't output unless you choose live TV output strms. If you have it turned on then something else is amiss. I will look tomorrow, I am not back until then.
sundevil67 28 Posted May 2, 2025 Posted May 2, 2025 3 hours ago, mickle026 said: I haven't download your log yet, I am on my phone at work at the moment. Your URLs are in the same format as live TV streaming URLs. So unless you have turned on the settings to identify using the URL (can't remember what it's called at the moment) they will be determined to be live TV and thus won't output unless you choose live TV output strms. If you have it turned on then something else is amiss. I will look tomorrow, I am not back until then. Is that this?
mickle026 650 Posted May 2, 2025 Author Posted May 2, 2025 11 minutes ago, sundevil67 said: Is that this? No, I would leave that blank, that is for TV show names this is what needs to be selected. However now looking at it, I am not 100% sure /tvshows/ is included in the check but I think it probably is. (Image copied from 1st post) I will look when I am back from work.
mickle026 650 Posted May 2, 2025 Author Posted May 2, 2025 @sundevil67as suspected, they are all detected as Live TV urls For testing you can enable Save Live TV output because yours are all tv shows anyway. It will output them all to a Live TV folder, but they wont get mixed if you are never loading a live tv m3u file. Its only a folder name! it wont make any difference to the content I ran your m3u here (the one you sent via pm) and they detect properly as tv shows with that turned on you only need your first url in the first url box, it will download the rest automatically, you dont need to use url 2 or url3 https://****************/1 A new build is attached - can you enable this? It will output an obfuscated split m3u files Internally they should look like this #EXTM3U #EXTINF:-1 tvg-id="tt8332798" tvg-name="tt8332798" tvg-type="tvshows" group-title="Long Bright River (2025)" ,Long Bright River (2025) S01 E01 https://*************/*************/*************/tvshow/tt8332798/1/1 #EXTINF:-1 tvg-id="tt8332798" tvg-name="tt8332798" tvg-type="tvshows" group-title="Long Bright River (2025)" ,Long Bright River (2025) S01 E02 https://*************/*************/*************/tvshow/tt8332798/1/2 #EXTINF:-1 tvg-id="tt8332798" tvg-name="tt8332798" tvg-type="tvshows" group-title="Long Bright River (2025)" ,Long Bright River (2025) S01 E03 https://*************/*************/*************/tvshow/tt8332798/1/3 #EXTINF:-1 tvg-id="tt8332798" tvg-name="tt8332798" tvg-type="tvshows" group-title="Long Bright River (2025)" ,Long Bright River (2025) S01 E04 https://*************/*************/*************/tvshow/tt8332798/1/4 #EXTINF:-1 tvg-id="tt8332798" tvg-name="tt8332798" tvg-type="tvshows" group-title="Long Bright River (2025)" ,Long Bright River (2025) S01 E05 https://*************/*************/*************/tvshow/tt8332798/1/5 #EXTINF:-1 tvg-id="tt8332798" tvg-name="tt8332798" tvg-type="tvshows" group-title="Long Bright River (2025)" ,Long Bright River (2025) S01 E06 https://*************/*************/*************/tvshow/tt8332798/1/6 #EXTINF:-1 tvg-id="tt8332798" tvg-name="tt8332798" tvg-type="tvshows" group-title="Long Bright River (2025)" ,Long Bright River (2025) S01 E07 https://*************/*************/*************/tvshow/tt8332798/1/7 #EXTINF:-1 tvg-id="tt8332798" tvg-name="tt8332798" tvg-type="tvshows" group-title="Long Bright River (2025)" ,Long Bright River (2025) S01 E08 https://*************/*************/*************/tvshow/tt8332798/1/8 #EXTINF:-1 tvg-id="tt36108218" tvg-name="tt36108218" tvg-type="tvshows" group-title="Soviet Storm: WWII in the East (2025)" ,Soviet Storm: WWII in the East (2025) S01 E01 https://*************/*************/*************/tvshow/tt36108218/1/1 #EXTINF:-1 tvg-id="tt36108218" tvg-name="tt36108218" tvg-type="tvshows" group-title="Soviet Storm: WWII in the East (2025)" ,Soviet Storm: WWII in the East (2025) S01 E02 https://*************/*************/*************/tvshow/tt36108218/1/2 #EXTINF:-1 tvg-id="tt36108218" tvg-name="tt36108218" tvg-type="tvshows" group-title="Soviet Storm: WWII in the East (2025)" ,Soviet Storm: WWII in the East (2025) S01 E03 https://*************/*************/*************/tvshow/tt36108218/1/3 #EXTINF:-1 tvg-id="tt36108218" tvg-name="tt36108218" tvg-type="tvshows" group-title="Soviet Storm: WWII in the East (2025)" ,Soviet Storm: WWII in the East (2025) S01 E04 https://*************/*************/*************/tvshow/tt36108218/1/4 #EXTINF:-1 tvg-id="tt36108218" tvg-name="tt36108218" tvg-type="tvshows" group-title="Soviet Storm: WWII in the East (2025)" ,Soviet Storm: WWII in the East (2025) S01 E05 https://*************/*************/*************/tvshow/tt36108218/1/5 This will allow you to send me a full version of all the parts in one file. VODtoSTRMscheduledTask.dll
goin3d 4 Posted May 2, 2025 Posted May 2, 2025 random question. with the current filtering options is there a way to exclude titles with Chinese characters? co-mingled in my groups i have titles such as 花樣年華 - 2000 that i'm trying to prevent from outputting.
mickle026 650 Posted May 2, 2025 Author Posted May 2, 2025 (edited) 3 hours ago, goin3d said: random question. with the current filtering options is there a way to exclude titles with Chinese characters? co-mingled in my groups i have titles such as 花樣年華 - 2000 that i'm trying to prevent from outputting. NO, but I have now added the options, I can add programming function to exclude "script" based languages because they use unique character codes. Japanese, Chinese, Korean, Arabic, Hebrew, Thai, Cyrillic, Greek, Devanagari (Hindi, Sanskrit, Marathi), Tamil I have not tested this at all, just added it it will just test the text in movie-name, group-title and the url for script based characters like this: static bool IsJapanese(string text) { return text.Any(c => (c >= '\u3040' && c <= '\u309F') || // Hiragana (c >= '\u30A0' && c <= '\u30FF') || // Katakana (c >= '\u4E00' && c <= '\u9FFF') // Common Kanji ); } If it contains these characters it will get ignored (if it works properly) this will include entries where there are any of these in the words. *Added the URL to the Overrides keywords detection, so this should now be possible too Edited May 2, 2025 by mickle026
goin3d 4 Posted May 2, 2025 Posted May 2, 2025 ran a decent sized file an every item was excluded from output. in the config i had selected Chinese and Arabic. In the log i see what looks like the same for every item: 02.May.2025 - 07:50:00 =============== Item [66137/67294] ===== m3u read: 98.28%, ReadTime:00:00:43 ============== 02.May.2025 - 07:50:00 Debugging: Sanitize InputString: 'Drama' 02.May.2025 - 07:50:00 Debugging: Sanitize OutputString: 'Drama' 02.May.2025 - 07:50:00 Debugging: Sanitize InputString: 'You S01 E01' 02.May.2025 - 07:50:00 Debugging: Sanitize OutputString: 'You S01 E01' 02.May.2025 - 07:50:00 Custom Country Codes found in config file - overriding internal Country Codes! 02.May.2025 - 07:50:00 Custom Country Codes found in config file - overriding internal Country Codes! 02.May.2025 - 07:50:00 tvgName: You S01 E01 02.May.2025 - 07:50:00 groupTitle: Drama 02.May.2025 - 07:50:00 channelName: You S01 E01 02.May.2025 - 07:50:00 logoUrl: https://image.tmdb.org/t/p/w300/sFILcK0exJVJV4BZMAOPzpBEuUT.jpg 02.May.2025 - 07:50:00 Debugging: Pre-Include/Ignore metadata.ChannelName= 02.May.2025 - 07:50:00 Debugging: Pre-Include/Ignore metadata.MovieName=You S01 E01 02.May.2025 - 07:50:00 Checking [Include Config] Include: True because config is empty. Next check Ignore Config. 02.May.2025 - 07:50:00 Debugging: Keep=True. 02.May.2025 - 07:50:00 Debugging: IgnoreWords_Contains is empty 02.May.2025 - 07:50:00 Checking [Ignore] Contains - result: False 02.May.2025 - 07:50:00 Checking [Ignore] StartsWith - result: False 02.May.2025 - 07:50:00 Debugging: Current groupTitle: Drama, 02.May.2025 - 07:50:00 Debugging: Current movieName: You S01 E01 02.May.2025 - 07:50:00 Debugging: IgnoreChinese=False. 02.May.2025 - 07:50:00 ****Item Ignored*** (Item is Chinese).
mickle026 650 Posted May 2, 2025 Author Posted May 2, 2025 Ok, I'm not home at the moment, I have a bit of time later, I will actually test it and find out what's going on.
Apotropaic 41 Posted May 2, 2025 Posted May 2, 2025 Just curious how many people here are extracting both the strms and the M3U files with the latest .17x version? I've re-run so many tests in so many permutations and something in .170 is preventing the file writer part of the plugin to run. Worse still is once the file writer part doesn't 'run' I can't run the plugin again until I restart the emby server service (even though it says it has finished but there is no log or server activity). .161 - with a fresh empty folder everything works, both strms and M3U's are written. If I upgrade to .170 but keep the directory output from .161 then my strm folders get deleted. If I upgrade to .170 but keep the directory output from .161 and disable the M3U extraction then the strm folders get updated fine using the new logic. If I then re-enable the M3U extraction they work but then the strms stop being updated. If I delete them then they are lost and won't be re-created. .170 - with a fresh empty folder M3U's are written but strms are not. Tried every combinations but the strms are never written to disk. The only config options I have enabled are Remove Unicode characters (tried with it on and off) Custom strings to remove from titles (tried with it on and off) Update strm file urls (tried with it on and off) Any idea what could be happening here? or what logging and logs could tell us? Also just so it may help someone out there as I remember someone asking about how to check progress of the plugin - if you are using a linux based system then the plugin seems to syslog some of the progress even if you don't have any of the debug options selected - tail /var/log/syslog 2025-05-02T17:55:34.703615+01:00 xxxxxxx emby-server[9141]: Progress: 17.38% 2025-05-02T17:55:34.811817+01:00 xxxxxxx emby-server[9141]: message repeated 29 times: [ Progress: 17.38%] 2025-05-02T17:55:34.815354+01:00 xxxxxxx emby-server[9141]: Progress: 17.39% 2025-05-02T17:55:34.927488+01:00 xxxxxxx emby-server[9141]: message repeated 30 times: [ Progress: 17.39%]
mickle026 650 Posted May 2, 2025 Author Posted May 2, 2025 (edited) 31 minutes ago, jaspalgill said: Just curious how many people here are extracting both the strms and the M3U files with the latest .17x version? I've re-run so many tests in so many permutations and something in .170 is preventing the file writer part of the plugin to run. Worse still is once the file writer part doesn't 'run' I can't run the plugin again until I restart the emby server service (even though it says it has finished but there is no log or server activity). .161 - with a fresh empty folder everything works, both strms and M3U's are written. If I upgrade to .170 but keep the directory output from .161 then my strm folders get deleted. If I upgrade to .170 but keep the directory output from .161 and disable the M3U extraction then the strm folders get updated fine using the new logic. If I then re-enable the M3U extraction they work but then the strms stop being updated. If I delete them then they are lost and won't be re-created. .170 - with a fresh empty folder M3U's are written but strms are not. Tried every combinations but the strms are never written to disk. The only config options I have enabled are Remove Unicode characters (tried with it on and off) Custom strings to remove from titles (tried with it on and off) Update strm file urls (tried with it on and off) Any idea what could be happening here? or what logging and logs could tell us? Also just so it may help someone out there as I remember someone asking about how to check progress of the plugin - if you are using a linux based system then the plugin seems to syslog some of the progress even if you don't have any of the debug options selected - tail /var/log/syslog 2025-05-02T17:55:34.703615+01:00 xxxxxxx emby-server[9141]: Progress: 17.38% 2025-05-02T17:55:34.811817+01:00 xxxxxxx emby-server[9141]: message repeated 29 times: [ Progress: 17.38%] 2025-05-02T17:55:34.815354+01:00 xxxxxxx emby-server[9141]: Progress: 17.39% 2025-05-02T17:55:34.927488+01:00 xxxxxxx emby-server[9141]: message repeated 30 times: [ Progress: 17.39%] I would check first if they are being filtered incorrectly. Are they being identified as Live TV for example and you don't have output for that checked? Any chance you can send me your m3u? There is an option to write it obfuscated now. Edited May 2, 2025 by mickle026
mickle026 650 Posted May 2, 2025 Author Posted May 2, 2025 (edited) I think the language detection is fixed. Just note its a bit difficult determining if an item is chinese or japanese as Japanese uses a lot of Kanji (chinese) VODtoSTRMscheduledTask.dll 02.May.2025 - 18:23:54 Debugging: Sanitize InputString: 'CN - 兄弟,请注意 (2023)' 02.May.2025 - 18:23:54 Debugging: Sanitize OutputString: 'CN - 兄弟,请注意 (2023)' 02.May.2025 - 18:23:54 Custom Country Codes found in config file - overriding internal Country Codes! 02.May.2025 - 18:23:54 Custom Country Codes found in config file - overriding internal Country Codes! 02.May.2025 - 18:23:54 channelName: CN - 兄弟,请注意 (2023) 02.May.2025 - 18:23:54 Debugging: Pre-Include/Ignore metadata.ChannelName= 02.May.2025 - 18:23:54 Debugging: Pre-Include/Ignore metadata.MovieName=CN - 兄弟,请注意 (2023) 02.May.2025 - 18:23:54 Checking [Include Config] Include: True because config is empty. Next check Ignore Config. 02.May.2025 - 18:23:54 Debugging: Keep=True. 02.May.2025 - 18:23:54 Debugging: Current groupTitle: , 02.May.2025 - 18:23:54 Debugging: Current movieName: CN - 兄弟,请注意 (2023) 02.May.2025 - 18:23:54 Checking [Ignore] Contains - result: False 02.May.2025 - 18:23:54 Checking [Ignore] StartsWith - result: False 02.May.2025 - 18:23:54 Debugging: IgnoreWords_StartingWith is empty 02.May.2025 - 18:23:54 Debugging: IgnoreJapanese string result=False. 02.May.2025 - 18:23:54 Debugging: IgnoreChinese string result=True. 02.May.2025 - 18:23:54 ****Item Ignored*** (Item is Chinese or Kanji (also used in Japanese)). 02.May.2025 - 18:23:54 =============== Item [4/14] ===== m3u read: 22.22%, ReadTime:00:00:00 ============== 02.May.2025 - 18:23:54 Debugging: Sanitize InputString: 'AR-DUB - العبقري S01 E39' 02.May.2025 - 18:23:54 Debugging: Sanitize OutputString: 'AR-DUB - العبقري S01 E39' 02.May.2025 - 18:23:54 Custom Country Codes found in config file - overriding internal Country Codes! 02.May.2025 - 18:23:54 Custom Country Codes found in config file - overriding internal Country Codes! 02.May.2025 - 18:23:54 channelName: AR-DUB - العبقري S01 E39 02.May.2025 - 18:23:54 Debugging: Pre-Include/Ignore metadata.ChannelName= 02.May.2025 - 18:23:54 Debugging: Pre-Include/Ignore metadata.MovieName=AR-DUB - العبقري S01 E39 02.May.2025 - 18:23:54 Checking [Include Config] Include: True because config is empty. Next check Ignore Config. 02.May.2025 - 18:23:54 Debugging: Keep=True. 02.May.2025 - 18:23:54 Debugging: Current groupTitle: , 02.May.2025 - 18:23:54 Debugging: Current movieName: AR-DUB - العبقري S01 E39 02.May.2025 - 18:23:54 Checking [Ignore] Contains - result: False 02.May.2025 - 18:23:54 Checking [Ignore] StartsWith - result: False 02.May.2025 - 18:23:54 Debugging: IgnoreWords_StartingWith is empty 02.May.2025 - 18:23:54 Debugging: IgnoreJapanese string result=False. 02.May.2025 - 18:23:54 Debugging: IgnoreChinese string result=False. 02.May.2025 - 18:23:54 Debugging: IgnoreArabic string result=True. 02.May.2025 - 18:23:54 ****Item Ignored*** (Item is Arabic). Edited May 2, 2025 by mickle026
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