Closed ghost closed 4 years ago
I will check about the ERRORs you mention - I haven't noticed that. Regarding the file name - the setting is for the final output filename, not for the temporary files. It doesn't really matter what their names are... does it?
Even though the WIKI is not upldated the tool accepts the WebGrab 2 standard for timespan (I added this feature in November): In xml:
In json: "timespan": { "days": 2, "pastdays":1, "time": "12:00" },
My idea was to build some kind of a GUI for building the config file (import from XML etc) ... but I have other priorities now.
thanks about the [ERROR] what i am referring to is the console ouput. if i run wgmulti.exe from terminal with
"ShowWebGrabConsole" set to false https://pastebin.com/MXxjWQrt
"ShowWebGrabConsole" set to true https://pastebin.com/bRr09Umq
about the epg.xml files,yes i can they are written to my temp dir
<add key="GrabingTempFolder" value="/tmp" />
when its done its also writting my final xml file as epg.xml instead of guide.xml as i have it set to.
N4810:/raid/NAS_WebGrab# ls epg.xml epg.xml no epg.xml file should be in this directory?
also i was looking in the source code at config.cs shouldnt the outputFilePath have the value of "guide.xml" in my case?
[DataMember(Name = "filename", Order = 5, IsRequired = true), XmlElement("filename")]
public String outputFilePath = "epg.xml";
public static String epgFileName = "epg.xml";
i know enough about coding to get myself into trouble only.
morning, seen u made some changes and all these issues are fixed. thanks again.
Yes, I did some changes to fix it. Thank you for trying.
it does matter if use the wg config.xml or json file its always write my file as epg.xml
wg config.xml..
<filename>/raid/NAS_WebGrab/guide.xml</filename>
json config.. "filename": "guide.xml"
2018-01-22 18:24:46.231 [ERROR] processing /tmp/vodafone.de/epg.xml ...
also all these lines(wg startup) are marked as [ERROR],they should be [Debug] or [Info] i know its just cosmetic but though i'de mention it.
seems to be working fine(first time i really tested it as i had no reason to use it).i want to try the channel fallback feature.
also i'll put this here for you to add sometime(maybe the additions just need to be added to the json config?
there have been some additions added to the
<timespan>
setting. keeppastdays and oneshowonlyfrom the documentation..
thks