Project

General

Profile

Help Req'd - script to create metadata file for Enigma2

Added by ess tukay over 6 years ago

Hi All

I am running THE on my Synology NAS, yser webgrab++ to grab EPG, i use this for the auto timer function to record shows and it works a treat! my front end is an Enigma2 box, which has the NAS folder with the recordings in, linked to the internal harddrive. I use my Enigma2 box to watch TV, record some shows, watch other shows recorded with THE, also i use my NAS to download other videos which again i watch on my E2.

My issue and what i need help with is: when i use THE to record shows to play on my E2, i get no metadata. I know of the matadata option within THE, but this does not work with E2. in E2 you need a separate file in the same folder as the video with the exact same name as the video but with .meta at the end.

Is there already a way to do this? (i have searched but didn't find anything) and if not, would it be possible to create a pre or post recording script to do this? The data i would like is simply, channel name, show name, show detials/description. I am sure all this info could possibly be pulled from the created timer, assuming its an xml file. If anyone can help me with the location of created timers in THE, I will try and give it a go though my linux code skills are limited.

the .meta file format needs to be as folllows:

1:0:0:0:0:0:0:0:0:0::Channel
Title
Extra text

1:0:0:0:0:0:0:0:0:0:: is required at the beginning of the file and can be same in each file.

Any help or direction would be very much appreciated.