Schedules Direct xmltvid
Moderator: Forum Moderators
Schedules Direct xmltvid
My channel list is missing a lot of xmltvid's. Is there somewhere I can find a list of them?
-
- Junior
- Posts: 33
- Joined: Thu Jun 26, 2014 8:47 pm
Re: Schedules Direct xmltvid
Assuming you are talking about your channel list on mythweb, you can see the xmltvid for a channel on the schedules direct website. Log into your account, select edit, then hover your mouse of the the channel you want to see the xmltvid for.
Re: Schedules Direct xmltvid
If you are using XMLTV to grab your channel data then the grabber you use should have a --list-channels option.
In the UK there are two grabbers that are part of XMLTV - tv_grab_zz_sdjson_sqlite and tv_grab_zz_sdjson_sqlite.
So you can run a command like this to see a full list of channels you have configured XMLTV to use.
The command must be run as the same user used to originally setup XMLTV for MythTV usually mythtv. That is what the su mythtv is for which works fine for me. You can also use something like
The file path and name after the --config-file parameter is the config file created for one of your video sources for which you have missing xmltvid's and will have the same name you gave the video source in MythTV setup.
In the UK there are two grabbers that are part of XMLTV - tv_grab_zz_sdjson_sqlite and tv_grab_zz_sdjson_sqlite.
So you can run a command like this to see a full list of channels you have configured XMLTV to use.
Code: Select all
su mythtv
tv_grab_zz_sdjson_sqlite --list-channels --config-file /home/mythtv/.mythtv/FreeviewHD.xmltv
Code: Select all
sudo -H -u mythtv bash -c "tv_grab_zz_sdjson_sqlite --list-channels --config-file /home/mythtv/.mythtv/FreeviewHD.xmltv"
Re: Schedules Direct xmltvid
Yes I'm talking about the channel list on mythweb. I am also as a concequence missing a lot of schedule data.chicobiker wrote: ↑Sat Jun 11, 2022 1:25 pmAssuming you are talking about your channel list on mythweb, you can see the xmltvid for a channel on the schedules direct website. Log into your account, select edit, then hover your mouse of the the channel you want to see the xmltvid for.
When I log into the schedules direct website I can't find the channel list or edit link you are mentioning.
Re: Schedules Direct xmltvid
You will only see a channel lineup if you are using SD's legacy service. I think all users outside of the USA are using their new JSON service which is setup using the API not the website.
Re: Schedules Direct xmltvid
Ok so how can I get the info I need? Cause I am missing about 80 channels out of the program guide
Re: Schedules Direct xmltvid
I'm assuming you have the channels in MythTV but they have no guide data because they are missing the correct xmltvid? If so you will have to use the tools provided by your XMLTV grabber to view and manage the channels first and then add the correct xmltvid to MythTV using mythv-setup or I believe MythWeb allows you to change it as well. Also IIRC In some cases if the grabber is set up correctly then mythfildatabase can also update them automatically if you use the correct parameters.
Re: Schedules Direct xmltvid
That is correct I can watch the channels live but have no guide data. I'm ok with adding the xmltvid to the lineup. What I need to find is the xmltvid'spaulh wrote: ↑Sun Jun 12, 2022 8:34 pmI'm assuming you have the channels in MythTV but they have no guide data because they are missing the correct xmltvid? If so you will have to use the tools provided by your XMLTV grabber to view and manage the channels first and then add the correct xmltvid to MythTV using mythv-setup or I believe MythWeb allows you to change it as well. Also IIRC In some cases if the grabber is set up correctly then mythfildatabase can also update them automatically if you use the correct parameters.
Re: Schedules Direct xmltvid
Did you try the tv_grab_zz_sdjson_sqlite --list-channels described above?
You should get output like this where the id="" part is the xmltvid.
You should get output like this where the id="" part is the xmltvid.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: This data has been downloaded from Schedules Direct, and use of the data is restricted by the subscriber agreement to non-commercial use with open source projects. Refer to the Schedules Direct subscriber agreement for more information -->
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv generator-info-name="tv_grab_zz_sdjson_sqlite" generator-info-url="https://github.com/garybuhrmaster/tv_grab_zz_sdjson_sqlite" source-info-name="Schedules Direct" source-info-url="https://www.schedulesdirect.org">
<channel id="I17154.json.schedulesdirect.org">
<display-name>BBC Two</display-name>
<display-name>BBC2</display-name>
<display-name>2</display-name>
<icon src="https://schedulesdirect-api20141201-logos.s3.amazonaws.com/stationLogos/s17154_dark_360w_270h.png" width="360" height="270" />
<icon src="https://schedulesdirect-api20141201-logos.s3.amazonaws.com/stationLogos/s17154_gray_360w_270h.png" width="360" height="270" />
<icon src="https://schedulesdirect-api20141201-logos.s3.amazonaws.com/stationLogos/s17154_light_360w_270h.png" width="360" height="270" />
<icon src="https://schedulesdirect-api20141201-logos.s3.amazonaws.com/stationLogos/s17154_white_360w_270h.png" width="360" height="270" />
</channel>
<channel id="I17155.json.schedulesdirect.org">
<display-name>Channel 4</display-name>
<display-name>C4</display-name>
<display-name>4</display-name>
<icon src="https://schedulesdirect-api20141201-logos.s3.amazonaws.com/stationLogos/s17155_dark_360w_270h.png" width="360" height="270" />
<icon src="https://schedulesdirect-api20141201-logos.s3.amazonaws.com/stationLogos/s17155_gray_360w_270h.png" width="360" height="270" />
<icon src="https://schedulesdirect-api20141201-logos.s3.amazonaws.com/stationLogos/s17155_light_360w_270h.png" width="360" height="270" />
<icon src="https://schedulesdirect-api20141201-logos.s3.amazonaws.com/stationLogos/s17155_white_360w_270h.png" width="360" height="270" />
</channel>
.
.
.
</tv
Re: Schedules Direct xmltvid
Sorry been on holiday.
Yes I did thanks. Down to 8 channels with no id's now.
Most of which I don't watch.
Yes I did thanks. Down to 8 channels with no id's now.
Most of which I don't watch.