harrygg/xmltv-tools

time correct

Closed this issue · 9 comments

great work on your latest updates that added json file and post processors.

i was wondering if the time correct could be made dynamic rather than convert to local only.
could another argument be added to specify the timezone one wants to convert to?

I would like this too.

That is possible in the latest version uploaded yesterday.
You need to specify "offset"property for any channel (not only for the time-shifted ones).

Be aware that there are minor changes in the syntax of the JSON config file (wgmulti.config.json) and the wgmulti runtime config (wgmulti.exe.config). The easiest way to generate a JSON config is to run wgmulti with your default WebGrabPlus XML config and it will automatically convert and export it to JSON config file. Then modify the JSON as needed save it as wgmulti.config.json and use it.

Next feature in my road map is - different timespan for different siteinis.

Thank you for promt reply! do you mean we have to add offset for each channel? i was thinking a parameter for this in wgmulti.exe.config where you can set another timezone rather than the local preconfigured already.

Yes, currently you have to add it to each channel.
But I am working on the next changes and I will include setting a global offset applicable to all channels, a local offset per siteini and super-local offset per channel.

Thank you harryygg! i have problem starting the tool in a shellscript, isnt this how you do it?

mono wgmulti.exe "/home/me/webgrabplus/"

I usually "chmod +x wgmulti.exe" and then run directly "./wgmulti.exe ", but make sure the correct entries are added to wgmulti.exe.config.

yes i did, but i tried to run wgmulti.exe from another folder to load a different configuration but it looks like its not finding the config in /home/me/webgrabplus/

I am not sure what you are doing :) Can you send me a wgmulti.log.txt to have a look.
BTW, please open a new thread as one was opened for something else.