mythlink.pl returning 0000 for film year

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
drjdmartin
Newcomer
Posts: 12
Joined: Wed Jul 29, 2020 7:32 am
Great Britain

mythlink.pl returning 0000 for film year

Post by drjdmartin » Mon Sep 14, 2020 6:50 pm

Hi,

I'm using the mythlink.pl script and running the following command

Code: Select all

/usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl --link /mnt/mythtv/Movies/ --format '%T (%oY)/%T (%oY)'
I've noticed sometimes I get a year (0000) which presumably means the metadata is missing? Is there a clean way to rectify this information and manually enter the year in mythtv if it is missing from the metadata?

Thanks,

James

drjdmartin
Newcomer
Posts: 12
Joined: Wed Jul 29, 2020 7:32 am
Great Britain

Re: mythlink.pl returning 0000 for film year

Post by drjdmartin » Sat Oct 03, 2020 9:33 am

I haven't found an answer to this, so in the end I just wrote a script to move the film links to the correctly named directory with the right year.

User avatar
paulh
Developer
Posts: 544
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: mythlink.pl returning 0000 for film year

Post by paulh » Sun Oct 04, 2020 3:04 pm

You can edit some of the metadata for a recording like the title, subtitle, description, series, episode and inetref on the 'Watch Recordings' screen press menu then Recording Options -> Change Recording Metadata. Unfortunately year is not one of them. It looks fairly easy to add it though. Let me know if you want to take a look at it and I can point you to the right place in the code.

Post Reply