You are here

No result when running merge-xmltv.ini in channelfile creation mode

8 posts / 0 new
Last post
Ludovik
Offline
Donator
Joined: 4 years
Last seen: 7 months
No result when running merge-xmltv.ini in channelfile creation mode

Hello,

I'm tring to merge xmltv files using merge-xmltv.ini but when I run when webgrab no channelconf file is generated.

Can someone help me ?

I join my log, merge-xmltv.ini and config xml files

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 1 min

u have to use update c,its just like creating a channel list for any other ini.

another option is to use a utility i made to merge files.
theres a linux and windows version.
https://github.com/SilentButeo2/webgrabplus-siteinipack/tree/master/post...

Ludovik
Offline
Donator
Joined: 4 years
Last seen: 7 months

Thanks for your answer. You're right I didn't use the "c" option for update.

I also try your postprocess plugin to merge my xmltv files but I error and I don't see where I made a mistake.
(Sorry if I ask newbie question)

pi@RSPB-TV:~/.wg++/postprocess_plugins/merge-xmltv/merge-xmltv $ merge-xmltv --timezone KEEP --output /home/xmltv/tmp/merged.xml /home/pi/xmltv/tmp/fr.xmltv.xml /home/pi/xmltv/tmp/fr.xmltv-ch.xml
sudo: merge-xmltv : commande introuvable

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 1 min

linux needs dotnet.
u need dotnet 5.0 runtime libaries installed.

dotnet merge-xmltv --timezone KEEP --output /home/xmltv/tmp/merged.xml /home/pi/xmltv/tmp/fr.xmltv.xml /home/pi/xmltv/tmp/fr.xmltv-ch.xml

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 1 min

sorry,i forgot i compiled it as a stand alone binary.
dotnet isnt needed,try

merge-xmltv -t KEEP -o /home/xmltv/tmp/merged.xml /home/pi/xmltv/tmp/fr.xmltv.xml /home/pi/xmltv/tmp/fr.xmltv-ch.xml

Ludovik
Offline
Donator
Joined: 4 years
Last seen: 7 months

I installed dotnet 6.0 runtime to run last webgrab version.
With you command I got this erro message :

pi@RSPB-TV:~/.wg++/postprocess_plugins/merge-xmltv/merge-xmltv $ dotnet merge-xmltv --timezone KEEP --output /home/xmltv/tmp/merged.xml /home/pi/xmltv/tmp/fr.xmltv.xml /home/pi/xmltv/tmp/fr.xmltv-ch.xml
Unable to execute because the specified command or file could not be found.
Possible reasons:
* You misspelled an embedded dotnet command.
* You wanted to run a .NET program, but dotnet-merge-xmltv does not exist.
* You wanted to run a global tool, but the executable of that name with the prefix dotnet could not be found in the PATH.

I also tried this command with same result :
pi@RSPB-TV:~/.wg++/postprocess_plugins/merge-xmltv/merge-xmltv $ dotnet "merge-xmltv" "--timezone KEEP --output /home/xmltv/tmp/merged.xml /home/pi/xmltv/tmp/fr.xmltv.xml /home/pi/xmltv/tmp/fr.xmltv-ch.xml"

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 1 min

i just translated your error..commande introuvable
it cant find the merge-xmltv binary,so either
cd /path/to/merge-xmltv/folder
then run your command
or add the full path to it

/path/to/merge-xmltv -t KEEP -o /home/xmltv/tmp/merged.xml /home/pi/xmltv/tmp/fr.xmltv.xml /home/pi/xmltv/tmp/fr.xmltv-ch.xml

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 1 min

i see your already in the folder where merge-xmltv is,so for the command line run like this
./merge-xmltv -t KEEP -o /home/xmltv/tmp/merged.xml /home/pi/xmltv/tmp/fr.xmltv.xml /home/pi/xmltv/tmp/fr.xmltv-ch.xml

./ mean run from here

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl