Magnum, P.I. and Magnum PI

All your suggestions, requests and ideas for future development
Post Reply
chrispopp8
Posts: 4
Joined: 26 Sep 2018, 02:57

Magnum, P.I. and Magnum PI

Post by chrispopp8 »

The reboot of Magnum PI has started. I keep getting matches for the original series and not the new one. Using TheTVDB, I've not been able to match things correctly so I'm getting the old episode names.

What I would like to do:

1) Get the new TV show episode titles and not the old 80's episode titles

2) Place the new TV show episodes in a folder that says "Magnum P.I. (2018)"

I'm running the GUI version of FileBot on Windows 10. I have no idea how to use the CLI version and to be honest, when I've tried to look at how-to items that deal with the CLI, I get cross-eyed.

The old episodes are "Magnum, P.I." and the listing is at https://www.thetvdb.com/series/magnum-pi

The NEW episodes are "Magnum P.I." (no comma) and the listing is at https://www.thetvdb.com/series/magnum-pi-2018

I use PLEX, and unless I have a year in the folder name, the old and new series get mixed up. That's why having FileBot name the folder as "Magnum P.I. (2018)" is important (just like "The Flash" and "The Flash (2014)" - two different shows, same name)

Thanks!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Magnum, P.I. and Magnum PI

Post by rednoah »

GUI:

:idea: Please read FAQ #2: viewtopic.php?f=3&t=7
rednoah wrote:Q: How do I fix misidentified files?
If the series / movie is not auto-detected correctly you can SHIFT-CLICK Image the database to force manual input and selection of the series or movie. As a last resort you can always grab the episode list in in the Episodes panel and then drag-and-drop or selectively copy-and-paste the episode data you want over into the Rename panel. Click Match Image to automatically align files with episodes or use drag-n-drop to realign ImageImage files and episode data. There's video tutorials here and here that'll show you how it works.
Force manual query and enter "Magnum PI 2018" as search query. Alternatively, you may also fetch episode info via the Episodes panel and then pass episode information to the Rename panel. You will find video tutorials for both cases in our YouTube video tutorial series.

:arrow: https://www.youtube.com/watch?v=btNSv7A ... OpS7FfALnd

Image




CLI:

Read Advanced Fine-Tuning for more information on the age filter technique:
viewtopic.php?f=4&t=215

e.g.

Code: Select all

--filter "age < 7 || 7 < model.age.min()"

You may use --filter to specifically exclude the older incarnation of that show:
viewtopic.php?f=3&t=2127

e.g.

Code: Select all

--filter "id != 74380"
or

Code: Select all

--filter "n != /Magnum, P.I./"
:idea: Please read the FAQ and How to Request Help.
chrispopp8
Posts: 4
Joined: 26 Sep 2018, 02:57

Re: Magnum, P.I. and Magnum PI

Post by chrispopp8 »

How can I force the folder name to be "Magnum P.I. (2018)"?
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Magnum, P.I. and Magnum PI

Post by kim »

using TVDB:

Code: Select all

{n} {id == 350068 ? y : ''}/ {n} - {s00e00} - {t}
BUT
First Aired = Blank
https://www.thetvdb.com/series/magnum-pi-2018

viewtopic.php?f=8&t=6138&p=35418&hilit= ... red#p35418
Binding "y": java.lang.NullPointerException
Binding "ny": java.lang.NullPointerException
for now:

Code: Select all

{n} {id == 350068 ? '('+sy.join()+')' : ''}/{n} - {s00e00} - {t}
or

Code: Select all

{n} {id == 350068 ? '('+d.year+')' : ''}/ {n} - {s00e00} - {t}
output
Magnum P.I. (2018)/Magnum P.I. - S01E01 - I Saw the Sun Rise
BUT then, what about next year :(

EDIT:
I think this will work next year ;)

Code: Select all

{n} {id == 350068 ? '('+episodelist.airdate.year.first()+')' : ''}/ {n} - {s00e00} - {t}
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Magnum, P.I. and Magnum PI

Post by kim »

BTW:
Since the last update of the site it's not possibile anymore for normal users to add first aired date, and days & time of airing.
Here are some series that need information to be filled in.
https://forums.thetvdb.com/viewtopic.php?f=7&t=48542
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Magnum, P.I. and Magnum PI

Post by rednoah »

:arrow: Override / Hardcode Series Names viewtopic.php?f=5&t=182


If it's really just about a specific special case, such as Magnum P.I. (2018), then I'd go with a simple replacement solution.

e.g.

Code: Select all

n.replace('Magnum P.I.', 'Magnum P.I. (2018)')
:idea: Please read the FAQ and How to Request Help.
chrispopp8
Posts: 4
Joined: 26 Sep 2018, 02:57

Re: Magnum, P.I. and Magnum PI

Post by chrispopp8 »

Ok. So.... do I do this every time I get a new episode that needs to be renamed? Or can I make a change somewhere so this is entered once and done? Either way, how the heck do I enter this?
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Magnum, P.I. and Magnum PI

Post by kim »

Presets
viewtopic.php?f=3&t=3228

try

Code: Select all

{plex.toString().replaceAll('Magnum P.I.', 'Magnum P.I. (2018)/')}
TV Shows/Magnum P.I. (2018)Season 01/Magnum P.I. (2018) - S01E01 - I Saw the Sun Rise
or

Code: Select all

{plex.toString().replaceFirst('Magnum P.I.', 'Magnum P.I. (2018)/')}
TV Shows/Magnum P.I. (2018)Season 01/Magnum P.I. - S01E01 - I Saw the Sun Rise
chrispopp8
Posts: 4
Joined: 26 Sep 2018, 02:57

Re: Magnum, P.I. and Magnum PI

Post by chrispopp8 »

Thank you! Your answer helped!

Now I just need to figure out how to have "Season 1" and not "Season 01"
Post Reply