- Thread starter
- #11
It's working now. Thank you for the fix. Onto entering all my channels and getting WebEPG to work.
I added a few channels, then exporting them to an XML file. Was going to manually edit it (well, write a perl script to populate the XML file) and have a few questions on the format....
I understand the Servers and cards sections. i.e.:
<tvserver version="1.0">
<servers> <server HostName="media-center" IdServer="1" IsMaster="True"> <cards> <card IdCard="1" DevicePath="(builtin)" Name="RadioWebStream Card (builtin)" Priority="6" GrabEPG="True" LastEpgGrab="2000-1-1 0:0:0" RecordingFolder="T:\Recordings" Enabled="False" CamType="0" TimeShiftFolder="V:\TimeShiftBuffer" RecordingFormat="0" DecryptLimit="0" PreloadCard="False" CAM="False" netProvider="0" StopGraph="True" /> <card IdCard="2" DevicePath="@device:sw:{083863F1-70DE-11D0-BD40-00A0C911CE86}\{D3DD4C59-D3A7-4B82-9727-7B9203EB67C0}" Name="MediaPortal IPTV Source Filter" Priority="5" GrabEPG="True" LastEpgGrab="2000-1-1 0:0:0" RecordingFolder="T:\Recordings" Enabled="False" CamType="0" TimeShiftFolder="V:\TimeShiftBuffer" RecordingFormat="0" DecryptLimit="0" PreloadCard="False" CAM="False" netProvider="0" StopGraph="True" /> <card IdCard="3" DevicePath="@device
np:\\?\pci#ven_14f1&dev_5b7a&subsys_74040070&rev_00#4&31815d7d&0&28a4#{a799a800-a46d-11d0-a18c-00a02401dcd4}\{ebe24d78-f037-4932-b879-ccefefe78750}" Name="Hauppauge WinTV 418 Tuner" Priority="4" GrabEPG="True" LastEpgGrab="2000-1-1 0:0:0" RecordingFolder="V:\BeyondTV" Enabled="True" CamType="0" TimeShiftFolder="V:\TimeShiftBuffer" RecordingFormat="0" DecryptLimit="0" PreloadCard="False" CAM="False" netProvider="0" StopGraph="True" /> <card IdCard="4" DevicePath="@device
np:\\?\pci#ven_14f1&dev_8880&subsys_d4391461&rev_0f#4&11bdb759&0&00a8#{a799a800-a46d-11d0-a18c-00a02401dcd4}\{5618011c-a4da-455b-a448-ec2af3dccb02}" Name="AVerMedia 23888 Tuner" Priority="3" GrabEPG="True" LastEpgGrab="2000-1-1 0:0:0" RecordingFolder="T:\Recordings" Enabled="True" CamType="0" TimeShiftFolder="V:\TimeShiftBuffer" RecordingFormat="0" DecryptLimit="0" PreloadCard="False" CAM="False" netProvider="0" StopGraph="True" /> <card IdCard="5" DevicePath="@device
np:\\?\pci#ven_14f1&dev_5b7a&subsys_74040070&rev_00#4&31815d7d&0&28a4#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{e01e1072-3df3-4c23-b99f-6a27a7cc7cd2}" Name="Hauppauge WinTV 418 BDA Tuner" Priority="2" GrabEPG="True" LastEpgGrab="2000-1-1 0:0:0" RecordingFolder="T:\Recordings" Enabled="False" CamType="0" TimeShiftFolder="V:\TimeShiftBuffer" RecordingFormat="0" DecryptLimit="0" PreloadCard="False" CAM="False" netProvider="0" StopGraph="True" /> <card IdCard="6" DevicePath="@device
np:\\?\pci#ven_14f1&dev_8880&subsys_d4391461&rev_0f#4&11bdb759&0&00a8#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{e01e1072-3df3-4c23-b99f-6a27a7cc7cd2}" Name="AVerMedia 23888 BDA Tuner/Demod" Priority="1" GrabEPG="True" LastEpgGrab="2000-1-1 0:0:0" RecordingFolder="T:\Recordings" Enabled="False" CamType="0" TimeShiftFolder="V:\TimeShiftBuffer" RecordingFormat="0" DecryptLimit="0" PreloadCard="False" CAM="False" netProvider="0" StopGraph="True" /> </cards> </server> </servers>
Here is where I have questions:
So, for each channel, I am assuming that there has to be a 'mappings' and 'TuningDeltails' section.
But, in the channel definition, are all the fields required? I assume the IdChannel for the channel definition, mappings and tuning details must match.
But, in the tune definition, since I am using an analog capture, most of those fields do not matter... which are required? Which can I just fill in as they are listed below?
What about the IdChannelMap... can't figure out how that ties into everything.
I get all my stations from DirectTV... Anyone have this already in the XML format? Then all I have to do is add my local stations.
<channels> <channel GrabEpg="True" IdChannel="3" IsRadio="False" IsTv="True" LastGrabTime="2000-1-1 0:0:0" SortOrder="0" TimesWatched="0" TotalTimeWatched="2000-1-1 0:0:0" VisibleInGuide="True" DisplayName="S-Video#1 on 3" ChannelNumber="5">
<mappings>
<map IdCard="3" IdChannel="3" IdChannelMap="3" />
</mappings>
<TuningDetails>
<tune IdChannel="3" IdTuning="3" Bandwidth="8" ChannelNumber="5" ChannelType="0" CountryId="213" Diseqc="0" FreeToAir="True" Frequency="0" MajorChannel="-1" MinorChannel="-1" Modulation="0" Name="S-Video#1 on 3" NetworkId="-1" PmtPid="-1" Polarisation="0" Provider="" ServiceId="-1" SwitchingFrequency="0" Symbolrate="0" TransportId="-1" TuningSource="0" VideoSource="4" AudioSource="0" IsVCRSignal="False" SatIndex="-1" InnerFecRate="-1" Band="0" Pilot="-1" RollOff="-1" Url="" Bitrate="0" />
</TuningDetails>
</channel>
<channel GrabEpg="True" IdChannel="11" IsRadio="False" IsTv="True" LastGrabTime="2000-1-1 0:0:0" SortOrder="1" TimesWatched="0" TotalTimeWatched="2000-1-1 0:0:0" VisibleInGuide="True" DisplayName="ESPN" ChannelNumber="206">
<mappings>
<map IdCard="3" IdChannel="11" IdChannelMap="10" />
</mappings>
<TuningDetails>
<tune IdChannel="11" IdTuning="39" Bandwidth="8" ChannelNumber="206" ChannelType="0" CountryId="213" Diseqc="0" FreeToAir="True" Frequency="0" MajorChannel="-1" MinorChannel="-1" Modulation="0" Name="ESPN" NetworkId="-1" PmtPid="-1" Polarisation="0" Provider="" ServiceId="-1" SwitchingFrequency="0" Symbolrate="0" TransportId="-1" TuningSource="0" VideoSource="4" AudioSource="0" IsVCRSignal="False" SatIndex="-1" InnerFecRate="-1" Band="0" Pilot="-1" RollOff="-1" Url="" Bitrate="0" />
</TuningDetails>
</channel>
</channels>
<channelgroups>
<channelgroup GroupName="All Channels" SortOrder="9999">
<mappings>
<map ChannelName="S-Video#1 on 3" SortOrder="-1" />
<map ChannelName="ESPN" SortOrder="10000" />
</mappings>
</channelgroup>
</channelgroups>
</tvserver>
I added a few channels, then exporting them to an XML file. Was going to manually edit it (well, write a perl script to populate the XML file) and have a few questions on the format....
I understand the Servers and cards sections. i.e.:
<tvserver version="1.0">
<servers> <server HostName="media-center" IdServer="1" IsMaster="True"> <cards> <card IdCard="1" DevicePath="(builtin)" Name="RadioWebStream Card (builtin)" Priority="6" GrabEPG="True" LastEpgGrab="2000-1-1 0:0:0" RecordingFolder="T:\Recordings" Enabled="False" CamType="0" TimeShiftFolder="V:\TimeShiftBuffer" RecordingFormat="0" DecryptLimit="0" PreloadCard="False" CAM="False" netProvider="0" StopGraph="True" /> <card IdCard="2" DevicePath="@device:sw:{083863F1-70DE-11D0-BD40-00A0C911CE86}\{D3DD4C59-D3A7-4B82-9727-7B9203EB67C0}" Name="MediaPortal IPTV Source Filter" Priority="5" GrabEPG="True" LastEpgGrab="2000-1-1 0:0:0" RecordingFolder="T:\Recordings" Enabled="False" CamType="0" TimeShiftFolder="V:\TimeShiftBuffer" RecordingFormat="0" DecryptLimit="0" PreloadCard="False" CAM="False" netProvider="0" StopGraph="True" /> <card IdCard="3" DevicePath="@device
Here is where I have questions:
So, for each channel, I am assuming that there has to be a 'mappings' and 'TuningDeltails' section.
But, in the channel definition, are all the fields required? I assume the IdChannel for the channel definition, mappings and tuning details must match.
But, in the tune definition, since I am using an analog capture, most of those fields do not matter... which are required? Which can I just fill in as they are listed below?
What about the IdChannelMap... can't figure out how that ties into everything.
I get all my stations from DirectTV... Anyone have this already in the XML format? Then all I have to do is add my local stations.
<channels> <channel GrabEpg="True" IdChannel="3" IsRadio="False" IsTv="True" LastGrabTime="2000-1-1 0:0:0" SortOrder="0" TimesWatched="0" TotalTimeWatched="2000-1-1 0:0:0" VisibleInGuide="True" DisplayName="S-Video#1 on 3" ChannelNumber="5">
<mappings>
<map IdCard="3" IdChannel="3" IdChannelMap="3" />
</mappings>
<TuningDetails>
<tune IdChannel="3" IdTuning="3" Bandwidth="8" ChannelNumber="5" ChannelType="0" CountryId="213" Diseqc="0" FreeToAir="True" Frequency="0" MajorChannel="-1" MinorChannel="-1" Modulation="0" Name="S-Video#1 on 3" NetworkId="-1" PmtPid="-1" Polarisation="0" Provider="" ServiceId="-1" SwitchingFrequency="0" Symbolrate="0" TransportId="-1" TuningSource="0" VideoSource="4" AudioSource="0" IsVCRSignal="False" SatIndex="-1" InnerFecRate="-1" Band="0" Pilot="-1" RollOff="-1" Url="" Bitrate="0" />
</TuningDetails>
</channel>
<channel GrabEpg="True" IdChannel="11" IsRadio="False" IsTv="True" LastGrabTime="2000-1-1 0:0:0" SortOrder="1" TimesWatched="0" TotalTimeWatched="2000-1-1 0:0:0" VisibleInGuide="True" DisplayName="ESPN" ChannelNumber="206">
<mappings>
<map IdCard="3" IdChannel="11" IdChannelMap="10" />
</mappings>
<TuningDetails>
<tune IdChannel="11" IdTuning="39" Bandwidth="8" ChannelNumber="206" ChannelType="0" CountryId="213" Diseqc="0" FreeToAir="True" Frequency="0" MajorChannel="-1" MinorChannel="-1" Modulation="0" Name="ESPN" NetworkId="-1" PmtPid="-1" Polarisation="0" Provider="" ServiceId="-1" SwitchingFrequency="0" Symbolrate="0" TransportId="-1" TuningSource="0" VideoSource="4" AudioSource="0" IsVCRSignal="False" SatIndex="-1" InnerFecRate="-1" Band="0" Pilot="-1" RollOff="-1" Url="" Bitrate="0" />
</TuningDetails>
</channel>
</channels>
<channelgroups>
<channelgroup GroupName="All Channels" SortOrder="9999">
<mappings>
<map ChannelName="S-Video#1 on 3" SortOrder="-1" />
<map ChannelName="ESPN" SortOrder="10000" />
</mappings>
</channelgroup>
</channelgroups>
</tvserver>
United States of America