Search found 14 matches

by Philmag
11 Apr 2023, 06:12
Forum: Help and Support
Topic: Wrong date on tv series (TVDB issue?)
Replies: 4
Views: 898

Re: Wrong date on tv series (TVDB issue?)

Thanks Noah, will give it a shot.
by Philmag
01 Apr 2023, 08:41
Forum: Help and Support
Topic: Wrong date on tv series (TVDB issue?)
Replies: 4
Views: 898

Re: Wrong date on tv series (TVDB issue?)

Hey Noah, thanks. I found another series with the same issue "Tremors(2003)" (tvdb id : 40637) has a 1990 startDate , which is wrong (I think they are accidentally used the date for the 1990 Tremors movie). Where/how do query the TVDB database to see the up to date info? I mean to say, whe...
by Philmag
28 Mar 2023, 07:09
Forum: Help and Support
Topic: Wrong date on tv series (TVDB issue?)
Replies: 4
Views: 898

Wrong date on tv series (TVDB issue?)

Hey Noah, I stumbled on this issue, where TVDB has an incorrect startDate . Here is the series https://thetvdb.com/series/the-adventures-of-tintin#general airdate for first episode is supposed to be 1991 (Plex also considers it a 1991 series), but TVDB has a 1961 startDate for the series : Is there ...
by Philmag
19 Mar 2023, 11:30
Forum: Help and Support
Topic: Correctly matching files when source filename is incorrect in relation to TVDB
Replies: 2
Views: 529

Correctly matching files when source filename is incorrect in relation to TVDB

Quick question (hopefully). What is the most efficient way (via GUI) to get a correct match to TVDB (or other databases) when the source filename has an incorrect Season/Episode structure. For example, let's say you have 24 files, named S01E01 to S01E24, when according to TVDB, it should be S01E01 t...
by Philmag
16 Mar 2023, 12:31
Forum: Help and Support
Topic: appending subtitles with .sdh postfix based on text inside the subtitle file
Replies: 14
Views: 1225

Re: appending subtitles with .sdh postfix based on text inside the subtitle file

Alright, all done! I am going to post my solution here for posterity, in case I (or anyone else reading this) need to do this again in a year and I don't remember anything. I filtered my sub dump to .srt files only and used this code for the first step (partial rename and move to location) {drive}/s...
by Philmag
16 Mar 2023, 10:31
Forum: Help and Support
Topic: appending subtitles with .sdh postfix based on text inside the subtitle file
Replies: 14
Views: 1225

Re: appending subtitles with .sdh postfix based on text inside the subtitle file

Got it, thank you very much! I think this should work without any further problems. Yeah those two subs only use [...], I have found a couple where (...) is used instead. I wanted to add {...} just to be on the safe side, I have no idea what kind of brackets the other 4000 files are using. They coul...
by Philmag
16 Mar 2023, 09:12
Forum: Help and Support
Topic: appending subtitles with .sdh postfix based on text inside the subtitle file
Replies: 14
Views: 1225

Re: appending subtitles with .sdh postfix based on text inside the subtitle file

Thanks again Noah! So to keep things simple I won't use 'matchBrackets' for now, although I see that the docker container has an update pending which might be v5. I'll revisit it once updated, thanks a lot for the code, I think I kind of get how it works. You are right, I should have posted the sub ...
by Philmag
13 Mar 2023, 10:33
Forum: Help and Support
Topic: appending subtitles with .sdh postfix based on text inside the subtitle file
Replies: 14
Views: 1225

Re: appending subtitles with .sdh postfix based on text inside the subtitle file

1. Your code works accidentally, not on purpose, because your any{}{} will return either true/false or 0 which is then used as condition. Using 0 as a condition happens to work because Groovy interprets 0 as false. e.g. correct code would look like this: f.subtitle && any{ f.text.matchAll(/...
by Philmag
11 Mar 2023, 08:58
Forum: Help and Support
Topic: appending subtitles with .sdh postfix based on text inside the subtitle file
Replies: 14
Views: 1225

Re: appending subtitles with .sdh postfix based on text inside the subtitle file

It worked! :) {drive}/series/{~emby.derive{' '+allOf{vf}{vcf}{ac}}} {any{f.subtitle && f.text.matchAll(/\[[\w\s]+\]/).size() >= 10} {0} ? '.sdh' : '.test'} I spent an ungodly amount of time trying to debug it because I stupidly forgot about the ? operator and was instead trying to nest it in...
by Philmag
10 Mar 2023, 08:26
Forum: Help and Support
Topic: appending subtitles with .sdh postfix based on text inside the subtitle file
Replies: 14
Views: 1225

Re: appending subtitles with .sdh postfix based on text inside the subtitle file

Ok just saw your edit, thanks!

I think I'm using the format editor, it does give me syntax errors ( I found out the hard way after doing 100 times via the preset editor and I knew I had an error when it would hang for a little bit and then return me to the preset editor, fun times :) )
by Philmag
10 Mar 2023, 08:10
Forum: Help and Support
Topic: appending subtitles with .sdh postfix based on text inside the subtitle file
Replies: 14
Views: 1225

Re: appending subtitles with .sdh postfix based on text inside the subtitle file

Oh, completely forgot about pastebin. I don't think we need it right now though?

Yeah, I found that page yesterday but I was too burned out to actually understand it. I'll give it a shot now. I still need to call out 'f.text' for it it too look inside the srt file, right?
by Philmag
10 Mar 2023, 07:42
Forum: Help and Support
Topic: appending subtitles with .sdh postfix based on text inside the subtitle file
Replies: 14
Views: 1225

Re: appending subtitles with .sdh postfix based on text inside the subtitle file

Thanks Noah! So the new code you wrote works, but it has the same problem as the initial code I was using, even with the '?' operator. It does not append the postfix on the non-sdh subs. I'll put some screenshots so it's a bit easier to explain. I'm also sharing screenshots of the code, just in case...
by Philmag
09 Mar 2023, 18:35
Forum: Help and Support
Topic: appending subtitles with .sdh postfix based on text inside the subtitle file
Replies: 14
Views: 1225

appending subtitles with .sdh postfix based on text inside the subtitle file

Hi I have subtitles that are badly named (e.g 2_English.srt; 3_English.srt). Some are SDH, some are not. I want to rename them so the '.sdh' postfix is appended after the '.eng' so that Plex doesn't throw an "Unknown" flag on them. I use the GUI, no AMC. After scouring the forums and canni...