[mythtv-users] mythlink.pl for 0.28

Michael T. Dean mtdean at thirdcontact.com
Mon May 2 13:50:09 UTC 2022


On 05/02/2022 07:40 AM, Robin Gilks wrote:
> Greetings
>
> I recall a while back using mythlink.pl to get readable filenames for TV
> recordings I wanted to archive but this may have been on 0.26 or 0.27.
>
> I'm about to do a total rebuild of my system and thought it a great time
> to get rid of some of the cruft by just keeping a few TV recordings as
> Video files. I can then rescan music & videos into a totally fresh system
> and start the recording setup from scratch with new tuners.
>
> Problem is all the versions of mythlink I have found fail with the same
> error:
> Can't find string terminator "EOF" anywhere before EOF at ./mythlink.pl
> line 63.
>
> Anyone an idea of what is going on or is there another way I can 'export'
> the recordings as videos with meaningful names?
>

Check out the mythlink.pl script you're running. Somewhere around line 
262 should be a line that contains only "EOF" and then a line feed. 
Usually an error like this is caused when there's an errant space or 
invisible character on the line.

https://github.com/MythTV/mythtv/blob/master/mythtv/contrib/user_jobs/mythlink.pl#L262

Alternatively, it's possible your copy of the script is actually 
truncated.  You can always download a new copy of mythlink.pl from

https://raw.githubusercontent.com/MythTV/mythtv/master/mythtv/contrib/user_jobs/mythlink.pl

and then "Save Page As" and give that a try.

Mike


More information about the mythtv-users mailing list