Merging LineUps

Discussion about Schedules Direct grabber code and data formats.

Merging LineUps

Postby ronluna » Tue Mar 08, 2016 10:25 am

In a new setup I'm using this 2 Lineups that are from the same provider.
PAN-0001183-DEFAULT
PAN-0001183-X

I was wondering if it possible to create a custom lineup that would merge the 2 as the "PAN-0001183-DEFAULT" lineup only includes the lower channel (from 2 to 100) and "PAN-0001183-X" includes the higher channel (from 100 and above) .
ronluna
 
Posts: 4
Joined: Tue Mar 08, 2016 8:03 am

Re: Merging LineUps

Postby bonelifer » Tue Mar 08, 2016 5:34 pm

Assuming your using the XMLTV utilities you could use tv_merge

Windows
Code: Select all
xmltv tv_merge -i C:/xmltv/list-output.xml -m C:/xmltv/list-output2.xml -o C:/xmltv/xmltv_new.xml


Linux:
Code: Select all
tv_merge -i /home/youruser/xmltv/list-output.xml -m /home/youruser/xmltv/list-output2.xml -o /home/youruser/xmltv/xmltv_new.xml
bonelifer
 
Posts: 21
Joined: Wed Sep 07, 2011 5:43 am

Re: Merging LineUps

Postby ronluna » Sun Mar 13, 2016 9:43 pm

The listing I'm currently using are international listing thus scheduledirect only provide those under the SD-JSON service. Is there a way to do the same with SD-JSON?
ronluna
 
Posts: 4
Joined: Tue Mar 08, 2016 8:03 am

Re: Merging LineUps

Postby bonelifer » Mon Mar 14, 2016 5:00 am

If you are using the mfdb-json utility, or the json service via another utility, then you should ask that in the "JSON service ‹ Developer" forum: viewforum.php?f=17
bonelifer
 
Posts: 21
Joined: Wed Sep 07, 2011 5:43 am


Return to Developers Corner

Who is online

Users browsing this forum: No registered users and 1 guest

cron