Discussion:
[Xmltv-devel] [xmltv-commit] xmltv xmltv-lineups.xsd,NONE,1.1
Simon Kenyon
2012-03-28 10:45:26 UTC
Permalink
nick,

i'm not very good at reading xsd but...

am i correct in assuming that dvb-channel and stb-channel are mutually
exclusive?

i ask because it would be good to be able to associate stb-preset with a
dvb-channel

also where are the tuning attributes for a dvb channel held? i'm
thinking of frequency, polarisation, etc.

regards
--
simon
dekarl
2012-03-28 12:17:51 UTC
Permalink
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;">Hi Simon,<br/><div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);"><div>
am i correct in assuming that dvb-channel and stb-channel are mutually <br/>
exclusive?<br/>
<br/>
i ask because it would be good to be able to associate stb-preset with a <br/>
dvb-channel<br/>
<br/>
also where are the tuning attributes for a dvb channel held? i'm <br/>
thinking of frequency, polarisation, etc.<br/></div></div><div><br/></div><div>I would expect two lineups in that case. One with the DVB ids and a separate<br/></div><div>one with the STB channel ids. The former for use with DVB cards and the latter<br/></div><div>for use with an analog capture card that drives a STB.<br/></div><div><br/></div><div>If you are looking for a &quot;channel number&quot; that would go into the channels preset<br/></div><div> and/or the LogicalChannelNumber if I understand the schema correctly.<br/></div><div><br/></div><div>Why do you want tuning information for DVB? Its easy to scan available channels<br/></div><div>and match them to the lineup via the DVB ids.<br/></div><div><br/></div><div>btw, network-id should really be original-network-id<br/></div><div><br/></div><div>Regards,<br/></div><div>Karl<br/></div></div>&nbsp;&nbsp;<br><br><table cellpadding="0" cellspacing="0" border="0"><tr><td style="font-family:verdana; font-size:12px; line-hei
ght:17px;border-top:1px solid #000000">Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App f&uuml;r iPhone und Android.&nbsp;&nbsp;&nbsp;<br><a href="https://produkte.web.de/freemail_mobile_startseite/"><b>https://produkte.web.de/freemail_mobile_startseite/</b></a></td></tr></table>
</body></html>
Nick Morrott
2012-03-28 15:22:42 UTC
Permalink
On 28 March 2012 13:17, dekarl <***@spaetfruehstuecken.org> wrote:

> btw, network-id should really be original-network-id

Thanks - I'll get this corrected.

Cheers,
Nick

--
Nick Morrott

MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin
Nick Morrott
2012-03-28 15:21:35 UTC
Permalink
On 28 March 2012 11:45, Simon Kenyon <***@koala.ie> wrote:
> nick,
>
> i'm not very good at reading xsd but...

Thanks for noticing the commit!

> am i correct in assuming that dvb-channel and stb-channel are mutually
> exclusive?

Yes, along with iptv-channel and analog-channel.

> i ask because it would be good to be able to associate stb-preset with a
> dvb-channel

Can you explain your use-case for this (and whether it would still be
needed after reading the next few paras)?

The lineups that the grabber will output will map the relevant
platform's EPG preset for each channel to a channel's "tuning" info.
By default, STB lineups (e.g. where you're taking some analog video
from a Sky/Virgin STB and control the box by mimicking a remote
control) will have matching lineup-entry/preset and
lineup-entry/stb-channel/stb-preset values. DVB lineups have presets
that typically match the LCN (as by default this is how the channels
would be numbered on a consumer DVB box or application that can detect
the transmitted LCN.

I'll be releasing a separate tool for MythTV users that will
(hopefully!) allow easy renumbering of a lineups presets to match
those of another. For example, you have both Freeview (with DVB-T
tuner) and Virgin TV (with an STB coupled to a hardware MPEG-2 card)
video sources and wish both lineups to have the same
lineup-entry/preset values for the same channels.

The tool will allow the user to instantly create/configure STB-based
lineups without requiring channels to be preconfigured in MythTV. For
DVB-based lineups, the DVB channels must already exist in the
database.

> also where are the tuning attributes for a dvb channel held? i'm
> thinking of frequency, polarisation, etc.

These are not stored in the lineups file for DVB - the user (or
end-user's application) is expected to have already scanned for
channels or know how to do so. The lineup will hold as little
information as possible (for DVB I believe it is at most onid:tsid:sid
and at minimum onid:sid) to allow matching of lineup entries against
pre-configured/scanned channels

Cheers,
Nick
Ben Bucksch
2012-03-28 15:42:49 UTC
Permalink
On 28.03.2012 17:21, Nick Morrott wrote:

>> > am i correct in assuming that dvb-channel and stb-channel are mutually
>> > exclusive?
> Yes, along with iptv-channel and analog-channel.
> ...
> allow easy renumbering of a lineups presets to match
> those of another.
> ...
> Thanks for noticing the commit!
>

Hey Nick,

I'm sorry, but while this may work for MythTV, because MythTV doesn't
distinguish between stations and channels, but doesn't work for other
systems like mine where such a clean separation exists. That separation
is inherently given by the TV landscape in Europe, and MythTV poses a
big problem for users in the EU for this very reason. I'm active in the
German MythTV community, and not even the MythTV community members are
happy with this merge of station and channel.

Why can't we just use my spec, please?

It seems to me that it's function-wise a superset of your spec, MythTV
wouldn't have any problem at all using my spec. I've been thinking long
and hard about this, and I've also already implemented it in my system.

On 28.03.2012 12:45, Simon Kenyon wrote:
> am i correct in assuming that dvb-channel and stb-channel are mutually
> exclusive?
>
> i ask because it would be good to be able to associate stb-preset with a
> dvb-channel
>
> also where are the tuning attributes for a dvb channel held? i'm
> thinking of frequency, polarisation, etc.

FWIW, in my spec, station and channel are separated. You have one
station (e.g. "BBC2"), and one or several DVB-channels for that station,
and possibly an STB-channel (whatever it is, it would need to be
defined) for that very same station.

So, the association that you ask for is possible. Similarly, a PVR can
dynamically pick the best available reception method for any desired TV
programme, even in a setup where DVB and analog or DVB or IPTV or other
methods are combined and they can receive the same stations.

http://wiki.xmltv.org/index.php/LineupProposal2
http://www.bucksch.org/1/projects/various/xmltv/lineup.de.xml

Thanks,

Ben
Nick Morrott
2012-03-29 05:41:13 UTC
Permalink
On 28 March 2012 16:42, Ben Bucksch <***@bucksch.org> wrote:
> On 28.03.2012 17:21, Nick Morrott wrote:
>
>>> >  am i correct in assuming that dvb-channel and stb-channel are mutually
>>> >  exclusive?
>> Yes, along with iptv-channel and analog-channel.
>> ...
>> allow easy renumbering of a lineups presets to match
>> those of another.
>> ...
>> Thanks for noticing the commit!
>>
>
> Hey Nick,
>
> I'm sorry, but while this may work for MythTV, because MythTV doesn't
> distinguish between stations and channels, but doesn't work for other
> systems like mine where such a clean separation exists. That separation
> is inherently given by the TV landscape in Europe, and MythTV poses a
> big problem for users in the EU for this very reason. I'm active in the
> German MythTV community, and not even the MythTV community members are
> happy with this merge of station and channel.

I've been a MythTV user since 2004 and have configured UK analog,
DVB-S, DVB-T and STB-based video sources with XMLTV. It has never
posed a problem - the only issue being the manual configuration (and
associated spare time) required to set it up the first time and
maintain it when new channels launch.

For anyone interested who hasn't read the xmltv-lineups XSD for the
technical details, each <xmltv-lineup> is intended to support a
logical and structured representation of the EPG channel lineup on a
single TV service, received by a particular means of reception. A
single <xmltv-lineup> is not intended to provide a global list of all
TV stations available in a country and the various means of receiving
them - multiple <xmltv-lineup> configurations would be used for this.

Here is a brief description of what it currently supports:


* the top level (root) element is the <xmltv-lineups> element, which
can hold 1 or more <xmltv-lineup> elements

* an <xmltv-lineup> element represents an EPG lineup for a particular
TV platform in a particular location (e.g. Sky TV in the UK)
* each <xmltv-lineup> element has a type (DTV/STB/IPTV/etc) and one or
more display names
* each <xmltv-lineup> element contains zero or more <lineup-entry> elements

* a <lineup-entry> element represents an entry in a TV service's EPG
* each <lineup-entry> element contains a <preset> element which
describes the entry's position in the EPG
* each <lineup-entry> element may contain details of the entry's
regional/national availablity
* each <lineup-entry> element may contain details of which
subscription packages the lineup entry is available in, and which
section of the EPG (news/sport/etc) it belongs in
* each <lineup-entry> element contains a <station> element
* each <lineup-entry> element contains zero or more <*-channel>
elements of the same type. Having <stb-channel> elements in a DTV
lineup makes no sense, obviously.

* a <station> element describes the EPG entry's content provider (e.g. BBC One)
* a <station> element contains no tuning information nor EPG-specific
information like location in the EPG
* each <station> element has an attribute linking it to XMLTV listing
data, when available
* each <station> element has other details as display name, logo, and
details of the audio and video quality

* a <*-channel> element contains identifiers to allow an EPG entry to
be identified based on its physical tuning information
* the identifiers present are specific to the type of channel it is
and how it is tuned: DTV channels have network/transport/service
identifiers transmitted in the digital stream, whereas STB channels
just have the digits entered on a remote control to change channel


In addition to the fact that such a lineup can immediately be used by
an external application to configure XMLTV channels, I'm using lineups
directly based on the XSD within the tv_grab_uk_rt grabber itself (to
be committed to CVS in next few days) for configuration, listings
retrieval and producing tailored lineups for a user's location to pass
to external applications.

Using lineups directly in a grabber permits a user to choose only TV
platform and location (and optionally select subscription packages),
and the grabber will filter the lineup and only retrieve channels
available on the platform/location combination. Grabber configurations
no longer get stale as new channels added to a platform are
automatically retrieved. Manual configuration is still permitted to
retain absolute control over which channels to retrieve.

> Why can't we just use my spec, please?
>
> It seems to me that it's function-wise a superset of your spec, MythTV
> wouldn't have any problem at all using my spec. I've been thinking long
> and hard about this, and I've also already implemented it in my system.

Based on the example XML document and without seeing an XSD/DTD spec
that can be validated against, my first thought is that it is not
structured enough or contain enough additional data to benefit both
XMLTV grabbers and external utilities in the same way the committed
XSD can (and does in development).

Here is a portion of a lineup file I'm using during testing (Freeview,
UK) that follows the XSD and represents a single lineup entry:

<?xml version="1.0" encoding="UTF-8"?>
<xmltv-lineups>
<xmltv-lineup type="DTV">
<display-name lang="en-GB">Freeview</display-name>
<logo url="http://xmltv.org/logos/freeview.jpg" height="50" width="50"/>
<lineup-entry>
<preset>4</preset>
<section>General entertainment</section>
<package type="basic">Free-to-air</package>
<availability area="country">Scotland</availability>
<availability area="country">England</availability>
<availability area="country">Northern Ireland</availability>
<station rfc2838="channel4.com" type="TV">
<name lang="en-GB">Channel 4</name>
<short-name lang="en-GB">Channel 4</short-name>
<logo url="http://www.lyngsat-logo.com/logo/tv/cc/channel4.jpg"
height="99" width="132"/>
<commercial-free>false</commercial-free>
<video>
<format>SDTV</format>
<aspect-ratio>16:9</aspect-ratio>
</video>
</station>
<dvb-channel>
<lcn>4</lcn>
<original-network-id>9018</original-network-id>
<transport-id>2048</transport-id>
<service-id>8384</service-id>
<service-name>Channel 4</service-name>
<provider-name>Channel 4</provider-name>
<encrypted>false</encrypted>
</dvb-channel>
</lineup-entry>
</xmltv-lineup>
</xmltv-lineups>


Here is a similar portion from your example XML file:

<lineup>
<stations>
<station rfc2838id="sat1.de">
<long-name>Sat 1</long-name>
<short-name>Sat 1</short-name>
<preset>6</preset>
<logo url="http://dummy.invalid/sat1.gif"/>
<group>hauptprivat</group>
<commercial-free>false</commercial-free>
</station>
</stations>
<channels>
<dvb-channel rfc2838id="sat1.de">
<dvb-name provider="ProSiebenSat.1" service="SAT.1"/>
<dvb-id network="1" service="17500" transport="1107"/>
<encrypted>false</encrypted>
</dvb-channel>
</channels>
</lineup>


Both lineups support one-to-many mappings of stations to channels, and
both provide enough information for DVB channels to be identified and
configured with an XMLTV ID. There is a clear separation of stations
and channels in both - the XSD version wraps both inside a
lineup-entry element.

However, there appears to be no information included in your example
that is not present (or supported) in the lineups XSD, and several
useful pieces of information that are not present in your example and
that are supported in the XSD.

Additionally:
- there is no logical unit in your example representing an EPG entry
which seems (at least to me) to be the obvious building block of an
EPG lineup
- the optional EPG preset is stored within the <station> element.
Wouldn't every EPG entry be required to have a preset? And isn't it an
aspect of the EPG entry, not the station or channel?
- per your proposal, support for STB-based lineups (common in the UK
for cable and non-FTA satellite users) requires adding a preset to the
<station> element. What do you do when the same station is available
in multiple positions in the EPG?

Based on these observations, one could argue your proposal is a subset
(rather than a superset) of the XSD.


Having taken the time to implement the xmltv-lineups.xsd and explore
using data created based on it within an XMLTV grabber, my viewpoint
is clearly biased and therefore not 100% objective - what do others
think? Is there anything missing from both examples that could enhance
them further?

Cheers,
Nick
Ben Bucksch
2012-03-29 12:04:56 UTC
Permalink
On 29.03.2012 07:41, Nick Morrott wrote:
> I've been a MythTV user since 2004 and have configured UK analog,
> DVB-S, DVB-T and STB-based video sources with XMLTV. It has never
> posed a problem

Well, the DVB support in MythTV was written by me, so I've been using
MythTV even longer. It is was a major problem for my personal setup, my
parents, and for many other active German MythTV community members that
I know, and for users who come to the community.

You may have found a workaround, but it's only a workaround and doesn't
work well in many cases. Please don't say "worksforme", when it doesn't
work for *me* and many of my friends.

> For anyone interested who hasn't read the xmltv-lineups XSD for the
> technical details, each<xmltv-lineup> is intended to support a
> logical and structured representation of the EPG channel lineup on a
> single TV service, received by a particular means of reception. A
> single<xmltv-lineup> is not intended to provide a global list of all
> TV stations available in a country and the various means of receiving
> them - multiple<xmltv-lineup> configurations would be used for this.

OK. That's the fundamental problem, then. I don't want a lineup that is
specific to one source. I need a lineup for one country, independent of
the reception source or TV guide source. My spec is designed to make
that possible, workable, and easy.

With my spec, we both get what we need (because you can always make a
lineup that's limited to one source, if you wish to). With your spec,
only you get what you need, and I don't.

> * an<xmltv-lineup> element represents an EPG lineup for a particular
> TV platform in a particular location (e.g. Sky TV in the UK)

That's no-go for me right there.

Ben
Ben Bucksch
2012-03-29 12:58:23 UTC
Permalink
On 29.03.2012 14:04, Ben Bucksch wrote:
>
>> * an<xmltv-lineup> element represents an EPG lineup for a particular
>> TV platform in a particular location (e.g. Sky TV in the UK)
>
> That's no-go for me right there.


Let me explain that, and my reasons and requirements, so that we can
resolve in a friendly way:

In Germany, when somebody goes to a TV, he expects to be able to press
the button "1" (preset) and get ARD, 2 and get ZDF, 3 and get.... I
think it's the same in the UK with BBC 1 and 2, in France with France 1
and France 2. This go so far that this is pretty much the definition of
a TV: If I have a device and can press "1" and see and hear ARD, it's a
TV. If I can't, it's either not a TV or not a properly set up TV, and I
get unhappy. People don't care in the slightest where the signal comes
from, whether it's analog or DVB-T or DVB-S or IPTV, they just want to
press 2 and get ZDF. They couldn't care less about DVB-S or -T (even if
they have both). They just want to watch Football on Sat afternoon.

This is where my interest comes in: We make digital TV solutions, and
people rightfully expect any TV solution to adhere to these minimum
requirements. Currently, we fail that. Get a computer, DVB card and
install MythTV, and you have to do all kinds of strange setup steps to
arrive at that, and typically they take 1-2 days. That severely limits
MythTV to geeks only, and I think that's a pitty, because it's
exceedingly useful for everybody who watches TV. This is my goal: zero
configuration work for the user, perfect setup, completely automatic.

The borders of these expectations are generally the country: People in
Germany expect RDF be to be on "1", while people in France expect France
1 to be on "1", while your parents in the UK expect BBC 1 to be there.
It does not matter whether they use analog, DVB-T or DVB-C or IPTV, or a
combination of that, that won't change their expectation.

Excursion: Multiple sources
Also, it is very common that the same setup mixes and matches DVB-S with
DVB-T or similar. For example, my parents have 2 cheap DVB-T receivers,
and one DVB-C card. There's a sports station that my father really
wants, but it's only on DVB-C. I cannot teach him to switch TV-card
inputs, I tried and failed. He expects to press 1 and get ARD and press
9 (or press "up" 8 times) and get DSF (sports channel), even though ARD
is on DVB-T and DSF is on DVB-C. And he's right.

Similarly, my mother plans new recordings by going to the ABC selection,
selecting "Traumschiff". She shouldn't see "ZDF" 2 times, only once. My
mother also wants the ZDF Sunday 8 PM movie every week. The scheduler
should know that he can get ZDF via both the DVB-T cards and the DVB-C
card, and use the best available input automatically.

I don't want to have to configure 2 XMLTV sources to feed DVB-T and
DVB-C, and I definitely don't want the whole programme of ZDF twice in
the database, once for the DVB-T channel and once for the DVB-C channel.
(end of multiple sources)


I can do a channel scan, and I can find pretty much all channels
receivable via the DVB-S or DVB-T setup. I get some station-defined
name, which is usually close but not exactly what the user expects.
However, I cannot automatically get 2 critical bits of information:
1) The mapping from the channel to the xmltvid
2) The preset, because every station would want to be on a preset < 10,
and that's not possible, so we need an independent party who can reflect
what's reasonable and commonly expected.
Currently, users have to configure that manually. Given the requirements
above, that's manual setup is out, so we need a solution for that. The
lineup was supposed to solve that.

You will note that both bits of information - preset and xmltvid - are
about the station and entirely independent of the channel. This is why I
have <station> nodes. However, I need some way to map the channel that I
found via scan to the station that I get from the lineup. This is what
the <*channel*> nodes are for. They may contain tuning info (for cases
where scanning is not possible), but their main purpose is merely to
match the existing, found channels to the station nodes. For that, the
DVB string names and DVB network and service IDs are appropriate (and
alternative) ways to do that.

The nice thing, and the part where I guess we differ, is that these DVB
names and DVB IDs are often the same all over the country, no matter the
reception method. For example, DVB-T and DVB-C feeds often originate
from Astra (DVB-S), so the names are identical. This is particularly
true for pay TV, which often has one head station and all the different
distribution methods just pass on the DVB stream verbatim. Even where
the DVB IDs are not identical, often the DVB names will be. In Germany,
we have about 10-20 different DVB-T lineups, just as many DVB-C lineups,
and 1 DVB-S lineup. However, they are all pretty much identical, so it's
possible to have 1 list for all, and that's desirable for obvious
reasons. It's common to mix different sources, e.g. DVB-T for free-TV
and "Sky" pay-TV, whereby Sky may come from any of DVB-S, DVB-C or IPTV.
And the same source that provides Sky also provides free TV in good
technical quality, so you have a mix-and-match.

This is what my proposal is made for: mix and match. And it's trivial,
because we need to provide only one lineup per country, and it's fairly
static (stations don't change very weekly).

Ben
Tom Furie
2012-03-29 15:55:58 UTC
Permalink
On Thu, Mar 29, 2012 at 02:58:23PM +0200, Ben Bucksch wrote:

> In Germany, when somebody goes to a TV, he expects to be able to press
> the button "1" (preset) and get ARD, 2 and get ZDF, 3 and get.... I
> think it's the same in the UK with BBC 1 and 2, in France with France 1
> and France 2. This go so far that this is pretty much the definition of
> a TV: If I have a device and can press "1" and see and hear ARD, it's a
> TV. If I can't, it's either not a TV or not a properly set up TV, and I
> get unhappy. People don't care in the slightest where the signal comes
> from, whether it's analog or DVB-T or DVB-S or IPTV, they just want to
> press 2 and get ZDF. They couldn't care less about DVB-S or -T (even if
> they have both). They just want to watch Football on Sat afternoon.
>
> The borders of these expectations are generally the country: People in
> Germany expect RDF be to be on "1", while people in France expect France
> 1 to be on "1", while your parents in the UK expect BBC 1 to be there.
> It does not matter whether they use analog, DVB-T or DVB-C or IPTV, or a
> combination of that, that won't change their expectation.

Sorry for butting in here but this last paragraph is not valid for the
UK. Here, if you are using DVB-T (Freeview) then yes, BBC 1 is what you
get by pressing "1" on your remote control, however if you are a Sky
customer, then BBC 1 is at "101". If you are a cable customer or use
FreeSat, BBC 1 may be on some other combination of keypresses.

If there is only a single source this isn't much of a problem, but once
there are multiple sources there are complications. Using Nick's
implementation I can choose whether to follow the Freeview system, the
Sky system, some other system (eg. FreeSat or Virgin Media), or
implement my own numbering system. I agree that this causes an extra
layer of complexity in organising line-ups, but I don't think your
implementation allows for that flexibility.

Cheers,
Tom
Ben Bucksch
2012-03-29 23:25:34 UTC
Permalink
On 29.03.2012 17:55, Tom Furie wrote:
> Sorry for butting in here but this last paragraph is not valid for the
> UK. Here, if you are using DVB-T (Freeview) then yes, BBC 1 is what you
> get by pressing "1" on your remote control, however if you are a Sky
> customer, then BBC 1 is at "101". If you are a cable customer or use
> FreeSat, BBC 1 may be on some other combination of keypresses.

OK. That would explain the different viewpoint that Nick has, why he
wants to make the lineup per provider.

The situation in Germany and France, however, is as I described. I
subscribe to Sky Germany, and I still expect my FreeTV channels on the
same presets 1-15, and Sky is somewhere at 100+. Sky just adds channels,
but doesn't change the common FreeTV channels.
> Using Nick's
> implementation I can choose whether to follow the Freeview system, the
> Sky system, some other system (eg. FreeSat or Virgin Media), or
> implement my own numbering system.

What if I have Sky *and* Virgin? And they both place channels at 1-50 or
100-200?

> If there is only a single source this isn't much of a problem, but once
> there are multiple sources there are complications.

Yes, I designed it so that there can be multiple sources (as in DVB-T,
DVB-S, IPTV etc.) providing the same station, and they would all merge,
the system picks the right channel and source transparently for the user.

However, having one lineup per provider, i.e. what you describe and Nick
has in mind, is still possible with my spec. You can still give a
specific and limited/adjusted lineup for one provider. However, we can
also have one lineup for the whole country. That latter part is possible
with my spec, but not with Nick's (at least not cleanly).

Also, my spec doesn't have duplication in case you receive the same
station via several transport means, but Nick's spec would have
duplication. I consider that critical, too.

Ben
Ben Bucksch
2012-03-29 23:34:28 UTC
Permalink
On 30.03.2012 01:25, Ben Bucksch wrote:
> On 29.03.2012 17:55, Tom Furie wrote:
>> Sorry for butting in here but this last paragraph is not valid for the
>> UK. Here, if you are using DVB-T (Freeview) then yes, BBC 1 is what you
>> get by pressing "1" on your remote control, however if you are a Sky
>> customer, then BBC 1 is at "101". If you are a cable customer or use
>> FreeSat, BBC 1 may be on some other combination of keypresses.
>
> OK. That would explain the different viewpoint that Nick has, why he
> wants to make the lineup per provider.
>
> The situation in Germany and France, however, is as I described. I
> subscribe to Sky Germany, and I still expect my FreeTV channels on the
> same presets 1-15, and Sky is somewhere at 100+. Sky just adds
> channels, but doesn't change the common FreeTV channels.
>> Using Nick's
>> implementation I can choose whether to follow the Freeview system, the
>> Sky system, some other system (eg. FreeSat or Virgin Media), or
>> implement my own numbering system.
>
> What if I have Sky *and* Virgin? And they both place channels at 1-50
> or 100-200?
>
>> If there is only a single source this isn't much of a problem, but once
>> there are multiple sources there are complications.
>
> Yes, I designed it so that there can be multiple sources (as in DVB-T,
> DVB-S, IPTV etc.) providing the same station, and they would all
> merge, the system picks the right channel and source transparently for
> the user.
>
> However, having one lineup per provider, i.e. what you describe and
> Nick has in mind, is still possible with my spec. You can still give a
> specific and limited/adjusted lineup for one provider. However, we can
> also have one lineup for the whole country. That latter part is
> possible with my spec, but not with Nick's (at least not cleanly).
>
> Also, my spec doesn't have duplication in case you receive the same
> station via several transport means, but Nick's spec would have
> duplication. I consider that critical, too.

Basically, it sounds to me that we're coming from different countries
and thus have different expectations.

I expect the lineup to be identical on every single TV that I run into,
at least for the big stations. And my TV system receives the same
station via DVB-T and DVB-S, and I expect the system to automatically
choose the right source, depending on availability.

You expect the lineup to change depending on whether you have Sky or Virgin.

The thing is: What you expect is possible with my spec. What I expect is
not possible with Nick's spec.

Plus, independent of expectations, with Nick's spec, there clearly is
data duplication in the case where I have both DVB-T and DVB-C with the
same stations (which is very common here).
Nick Morrott
2012-03-30 01:43:34 UTC
Permalink
On 30 March 2012 00:34, Ben Bucksch <***@bucksch.org> wrote:
> On 30.03.2012 01:25, Ben Bucksch wrote:
>> On 29.03.2012 17:55, Tom Furie wrote:
>>> Sorry for butting in here but this last paragraph is not valid for the
>>> UK. Here, if you are using DVB-T (Freeview) then yes, BBC 1 is what you
>>> get by pressing "1" on your remote control, however if you are a Sky
>>> customer, then BBC 1 is at "101". If you are a cable customer or use
>>> FreeSat, BBC 1 may be on some other combination of keypresses.
>>
>> OK. That would explain the different viewpoint that Nick has, why he
>> wants to make the lineup per provider.

That is the definition of a lineup that I am working against (see below).

>> The situation in Germany and France, however, is as I described. I
>> subscribe to Sky Germany, and I still expect my FreeTV channels on the
>> same presets 1-15, and Sky is somewhere at 100+. Sky just adds
>> channels, but doesn't change the common FreeTV channels.
>>> Using Nick's
>>> implementation I can choose whether to follow the Freeview system, the
>>> Sky system, some other system (eg. FreeSat or Virgin Media), or
>>> implement my own numbering system.
>>
>> What if I have Sky *and* Virgin? And they both place channels at 1-50
>> or 100-200?

Your application uses the relevant Sky and Virgin lineups and asks the
_user_ (not the lineup creator) which numbering scheme to use, and
uses the information in the lineups to arrive at a non-conflicting
solution?

>>> If there is only a single source this isn't much of a problem, but once
>>> there are multiple sources there are complications.
>>
>> Yes, I designed it so that there can be multiple sources (as in DVB-T,
>> DVB-S, IPTV etc.) providing the same station, and they would all
>> merge, the system picks the right channel and source transparently for
>> the user.
>>
>> However, having one lineup per provider, i.e. what you describe and
>> Nick has in mind, is still possible with my spec. You can still give a
>> specific and limited/adjusted lineup for one provider. However, we can
>> also have one lineup for the whole country. That latter part is
>> possible with my spec, but not with Nick's (at least not cleanly).

Following my spec you can create a single DTV lineup and include all
DVB-T and DVB-S channels available in Germany in it, associated with
whatever preset you want.

If the restriction on channel type is removed (it is an enum in the
XSD to enforce the intended behaviour of a lineup), you could also
include IPTV/analog/STB channels.

>> Also, my spec doesn't have duplication in case you receive the same
>> station via several transport means, but Nick's spec would have
>> duplication. I consider that critical, too.
>
> Basically, it sounds to me that we're coming from different countries
> and thus have different expectations.

I don't think it's due to differing locations, as TV here in the UK is
pretty much the same as TV in France, Germany and everywhere else when
you break it down into stations (content) and channels (transmission).

The disconnect as I see it is due to what the purpose of this "lineup"
feature is and what you expect it to do.
dekarl
2012-03-30 05:31:45 UTC
Permalink
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div><br/>
<br/></div><div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">

<div>
On 30 March 2012 00:34, Ben Bucksch &lt;***@bucksch.org&gt; wrote:<br/>
&gt; On 30.03.2012 01:25, Ben Bucksch wrote:<br/>
&gt;&gt; On 29.03.2012 17:55, Tom Furie wrote:<br/>
&gt;&gt;&gt; Sorry for butting in here but this last paragraph is not valid for the<br/>
&gt;&gt;&gt; UK. Here, if you are using DVB-T (Freeview) then yes, BBC 1 is what you<br/>
&gt;&gt;&gt; get by pressing &quot;1&quot; on your remote control, however if you are a Sky<br/>
&gt;&gt;&gt; customer, then BBC 1 is at &quot;101&quot;. If you are a cable customer or use<br/>
&gt;&gt;&gt; FreeSat, BBC 1 may be on some other combination of keypresses.<br/>
&gt;&gt;<br/>
&gt;&gt; OK. That would explain the different viewpoint that Nick has, why he<br/>
&gt;&gt; wants to make the lineup per provider.<br/>
<br/>
That is the definition of a lineup that I am working against (see below).<br/>
<br/>
<br/>
Robert/Karl/Mattias - do you guys want to provide any input in this discussion?<br/>
<br/></div></div><div>I'm relocationg *today* so I'm a bit short on time :-)<br/></div><div><br/></div><div>As I'm ignoring anything outside of DVB and restricted my target feature set<br/></div><div>to &quot;automatically map transmitted channels to guide channels&quot; I get away<br/></div><div>with a way simpler data model then both of you (see my NoLineupProposal)<br/></div><div><br/></div><div><div>I'm happy to convert my data into *one* &quot;channel set&quot; per guide (I provide<br/></div><div>one guide with NonameTV and will happily extend _fr_kazer, _pt_meo, etc.<br/></div><div>to *one* channel map each, too)<br/></div><div><br/></div>Which basically comes down to, &quot;I'll take whatever gets implemented and will<br/></div><div>try to make that work automatically for my use case&quot; which is letting the<br/></div><div>consuming application scan for available channels, map them and turn them<br/></div><div>on/off in the xmltv configuration automatically.<br/></div><div><br/></div><div>Regards,<br/></div><div>Karl<br/></div><div><br/></div><div>PS: I see an upcoming need to map &quot;InternetTV/Radio&quot; channels plus a link<br/></div><div>to the guide in the not so distant future, too. But first things first.<br/></div><div><br/></div></div>&nbsp;&nbsp;<br><br><table cellpadding="0" cellspacing="0" border="0"><tr><td style="font-family:verdana; font-size:12px; line-height:17px;border-top:1px solid #000000">Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App f&uuml;r iPhone und Android.&nbsp;&nbsp;&nbsp;<br><a href="https://produkte.web.de/freemail_mobile_startseite/"><b>https://produkte.web.de/freemail_mobile_startseite/</b></a></td></tr></table>
</body></html>
Robert Eden
2012-03-30 05:45:03 UTC
Permalink
On 3/30/2012 12:31 AM, dekarl wrote:
>
>
> On 30 March 2012 00:34, Ben Bucksch <***@bucksch.org> wrote:
> > On 30.03.2012 01:25, Ben Bucksch wrote:
> >> On 29.03.2012 17:55, Tom Furie wrote:
> >>> Sorry for butting in here but this last paragraph is not valid for the
> >>> UK. Here, if you are using DVB-T (Freeview) then yes, BBC 1 is what you
> >>> get by pressing "1" on your remote control, however if you are a Sky
> >>> customer, then BBC 1 is at "101". If you are a cable customer or use
> >>> FreeSat, BBC 1 may be on some other combination of keypresses.
> >>
> >> OK. That would explain the different viewpoint that Nick has, why he
> >> wants to make the lineup per provider.
>
> That is the definition of a lineup that I am working against (see below).
>
>
> Robert/Karl/Mattias - do you guys want to provide any input in this discussion?
>
>
Hah.. I'm also traveling, but read through the recent threads.

I find the Germany / France behavior,... how can I put this... foreign. :)

What's stopping a Germany/France grabber from setting the new lineup "channel" numbers they way they want? There could also be a post-processing
filter that can manipulate the file and update the channel -> xmlid mapping to be the "best" for that set of stations. (use tvcat to combine them all).

Robert

Robert
Ben Bucksch
2012-03-30 08:46:09 UTC
Permalink
On 30.03.2012 03:43, Nick Morrott wrote:
> Your application uses the relevant Sky and Virgin lineups and asks the
> _user_ (not the lineup creator) which numbering scheme to use, and
> uses the information in the lineups to arrive at a non-conflicting
> solution?

No, I am shooting for zero configuration, the user specifies nothing.
I would create one single lineup for all of UK, including Sky and
Virgin, i.e. there wouldn't be any two Sky vs. Virgin stations with the
same preset, but Sky would be 100 and Virgin 200. That's not hard.
That's of course coming from my German background, and I don't know how
UK users would react to that. I would also create 2 other lineup files
for the UK that have the official numbering scheme of Virgin and Sky, on
a different URL, and the user could specify that, yes. But that would be
optional.

Please note that in my model, the lineup and grabber are independent.
There can be 1 lineup URL and 10 grabbers for Germany. The lineup is
designed to be a static webserver URL that can be used by anybody, and
be fetched only rarely, e.g. after the app did a channel scan. Of
course, the grabber can also provide such a URL, but it doesn't have to,
it can be independent.

> My top-rated channel BBC Four [2] is available in the UK/Ireland on
> the following TV platforms with these channel presets:
>
> Freeview - Channel 9
> Freesat - Channel 107
> Sky (UK) - Channel 116
> Sky (Ireland) - Channel 230
> Virgin Media- Channel 107
> UPC Ireland - Channel 117
> Smallworld Cable - Channel 119

I accept that this is what you expect, but not people here. That would
confuse and annoy me to no end. It's common here that people subscribe
to Sky only for 1-2 years. They don't want all their TV to change every
time.

> I don't think it's due to differing locations, as TV here in the UK is
> pretty much the same as TV in France, Germany and everywhere else when
> you break it down into stations (content) and channels (transmission).

Indeed. What seems to be different is the user expectation. I take it as
a granted since a child that 1 = ARD and 2 = ZDF. Anything else is
simply broken, and I think most Germans share that viewpoint. You expect
BBC 1 to be on a different preset depending on whether you pay for Sky
or not. It's probably because we have a different TV landscape: ARD is
still the most important channel even if you do have Sky. Sky just adds
some additional premium channels with new movies or soccer.

> A lineup is not intended to
> be a complete set of all channels available everywhere on all
> platforms (that is not a lineup, that is a channel database). Nor is
> it intended to provide a single channel preset for all channels across
> all platforms based on past broadcast history or the whims of the
> lineup creator.

Given that English is not my native language, I can't know what "lineup"
means precisely. I thought it meant a list of stations (not channels)
and their presets.

It seems to me that in your model, 1. the user would first have to
select a subscription plan or channels or similar manually, then 2.+3.
you'd download the lineup and TV programming, and 4. you'd do a channels
scan, and 5. you'd match the stations with the channels you have.
My idea is the opposite: 1. Scan, and find out which channels are
receivable (and decodable), 2. fetch the lineup for the country, 3.
match channels to stations, 4. selecting a grabber / the grabbers for
the receivable stations, and 5. fetching the TV programming. That means
the user doesn't have to enter anything, not even select a grabber.

Given that we now understand the different needs, what do we do? As I
said: What you want to do is possible with my spec. What I want to do is
not possible (cleanly) with your spec.

> Following my spec you can create a single DTV lineup and include all
> DVB-T and DVB-S channels available in Germany in it, associated with
> whatever preset you want.
>
> If the restriction on channel type is removed (it is an enum in the
> XSD to enforce the intended behaviour of a lineup), you could also
> include IPTV/analog/STB channels.

Can I specify that DVB-Name "Das Erste" and "DAS ERSTE" and "Das Erste
HD", are actually one and the same station (identically programming),
without replicating the station name, preset etc.? This is what's
important for my app: no duplication, clear identity of stations and 1:n
mapping station (programming) to channel (technical reception). Given
that you have a 1:1 mapping of stations between channels, I think that's
not possible. And as you said, that doesn't even reflect UK landscape
where stations and channels are separate, too.

> Data duplication within a single lineup is so infrequent that it is
> not normalised out.

This is not true for the setups that I know. It is *very* common to have
both DVB-S or DVB-C plus 1-2 DVB-T receivers. On top, most stations
these days have a normal SD channel and a HD version with identical
programming, just higher resolution. Their DVB names and DVB IDs are of
course different (e.g. "arte" and "arte HD" or "sky action" and "sky
action HD"), but they are the same station. So, pretty much everybody in
Germany who has either DVB-S or DVB-C has the situation of having 2
channels (with different DVB names) for the same station.

And I want to shield my users from that. In my app, the user does not
select "arte HD", but he selects "arte" and automatically gets the best
available version. This is true for live-TV, but even more so for
scheduling of recordings.

And I most definitely do not want to download the TV programme twice,
once for "sky cinema" and once for "sky cinema HD", both with identical
content. But that's status quo. That's another reason why the station
identity is so important.

> Station elements
> could therefore be normalised out of the lineup-entry elements
> (perhaps as children of the top level xmltv-lineups element) and
> instead referenced by id. Taking this to its logical extreme, all
> *-channel elements could also be normalised out, until you are left
> with lineup-entry elements that simply reference a station element and
> one or more channel elements.

This is precisely what my spec does. It's not complicated at all, as you
can see from the example.

( http://wiki.xmltv.org/index.php/LineupProposal2
http://www.bucksch.org/1/projects/various/xmltv/lineup.de.xml )

Ben
Simon Kenyon
2012-03-30 09:42:07 UTC
Permalink
On 03/30/12 09:46, Ben Bucksch wrote:
>> My top-rated channel BBC Four [2] is available in the UK/Ireland on
>> the following TV platforms with these channel presets:
>>
>> Freeview - Channel 9
>> Freesat - Channel 107
>> Sky (UK) - Channel 116
>> Sky (Ireland) - Channel 230
>> Virgin Media- Channel 107
>> UPC Ireland - Channel 117
>> Smallworld Cable - Channel 119
>
> I accept that this is what you expect, but not people here. That would
> confuse and annoy me to no end. It's common here that people subscribe
> to Sky only for 1-2 years. They don't want all their TV to change every
> time.
>
>> I don't think it's due to differing locations, as TV here in the UK is
>> pretty much the same as TV in France, Germany and everywhere else when
>> you break it down into stations (content) and channels (transmission).
>
> Indeed. What seems to be different is the user expectation. I take it as
> a granted since a child that 1 = ARD and 2 = ZDF. Anything else is
> simply broken, and I think most Germans share that viewpoint. You expect
> BBC 1 to be on a different preset depending on whether you pay for Sky
> or not. It's probably because we have a different TV landscape: ARD is
> still the most important channel even if you do have Sky. Sky just adds
> some additional premium channels with new movies or soccer.

when i was growing up BBC1 was channel 1
but my parents are english, even though i was born and raised in ireland
but when i got married we tuned the tv so that rte1 was channel 1 (like
the majority of people in ireland)

this was in the days of analogue tv and "tuning"

then along came satellite broadcasting

now rte1 is channel 101

but i also have RTE1 on dvb-t, so it is also channel 201

now i understand that ben wants ARD on channel 1. good for him.

what i want

- is a well defined data model. that everyone can agree on.

- i want a mechanism for mapping the output of of various programs/web
sites/other sources into this format.

then i can get info from multiple sources and combine in an unambiguous
was into a single data set. then i can generate the channel data for
myth and keep it up to date.

the last point is important and something that i think is missing.

i went to a lot of trouble to grab data from various web sites to try to
get a complete lineup. then two weeks later sky moved all their channels
around and two years later and i haven't recovered.

as i grab video from my STB, knowing their "lineup" is critical. but
knowing when it changes is just as important. i see nothing which will
give me any indication of the temporal nature of the data. when it changes.

just my opinion
Simon Kenyon
2012-03-30 20:19:16 UTC
Permalink
reading what everyone has said (including myself) the sticking point
seems to be the channel number.

can we agree an ERD and then map that to XML. we appear to be going the
reverse.
Nick Morrott
2012-04-03 19:48:06 UTC
Permalink
On 30 March 2012 09:46, Ben Bucksch <***@bucksch.org> wrote:
> On 30.03.2012 03:43, Nick Morrott wrote:
>> Your application uses the relevant Sky and Virgin lineups and asks the
>> _user_  (not the lineup creator) which numbering scheme to use, and
>> uses the information in the lineups to arrive at a non-conflicting
>> solution?
>
> No, I am shooting for zero configuration, the user specifies nothing.
> I would create one single lineup for all of UK, including Sky and
> Virgin, i.e. there wouldn't be any two Sky vs. Virgin stations with the
> same preset, but Sky would be 100 and Virgin 200. That's not hard.
> That's of course coming from my German background, and I don't know how
> UK users would react to that. I would also create 2 other lineup files
> for the UK that have the official numbering scheme of Virgin and Sky, on
> a different URL, and the user could specify that, yes. But that would be
> optional.

Ben,

I've had "real-life" issues for the last few days so please excuse my
brevity in replying.

> Please note that in my model, the lineup and grabber are independent.
> There can be 1 lineup URL and 10 grabbers for Germany. The lineup is
> designed to be a static webserver URL that can be used by anybody, and
> be fetched only rarely, e.g. after the app did a channel scan. Of
> course, the grabber can also provide such a URL, but it doesn't have to,
> it can be independent.

The XSD spec permits the same: each station is identified with an
rfc2838 attribute (where defined). This identifier can be used across
any grabbers that want to use the lineup.

>> My top-rated channel BBC Four [2] is available in the UK/Ireland on
>> the following TV platforms with these channel presets:
>>
>> Freeview - Channel 9
>> Freesat - Channel 107
>> Sky (UK) - Channel 116
>> Sky (Ireland) - Channel 230
>> Virgin Media- Channel 107
>> UPC Ireland - Channel 117
>> Smallworld Cable - Channel 119
>
> I accept that this is what you expect, but not people here. That would
> confuse and annoy me to no end. It's common here that people subscribe
> to Sky only for 1-2 years. They don't want all their TV to change every
> time.

I read an article the other day [1] about EPG numbering changes in the
UK, which also included comments about the state of EPG numbering in
Germany:

"In Germany there is no channel numbering scheme, so everyone numbers
the channels themselves. It's fairly hard to sort 100+ channels over a
bad rubbery remote."

This explains the unstructured nature of your lineup proposal.

[1] http://forums.reghardware.com/forum/1/2012/03/30/dmol_proposes_freeview_epg_shuffle_to_take_in_iptv/

>> I don't think it's due to differing locations, as TV here in the UK is
>> pretty much the same as TV in France, Germany and everywhere else when
>> you break it down into stations (content) and channels (transmission).
>
> Indeed. What seems to be different is the user expectation. I take it as
> a granted since a child that 1 = ARD and 2 = ZDF. Anything else is
> simply broken, and I think most Germans share that viewpoint. You expect
> BBC 1 to be on a different preset depending on whether you pay for Sky
> or not. It's probably because we have a different TV landscape: ARD is
> still the most important channel even if you do have Sky. Sky just adds
> some additional premium channels with new movies or soccer.

This is the crux of the problem. Based on the definition of the
'lineup' that I am working to, by default it is intended for lineup
producers to uss the EPG numbering scheme of each TV provider for
which a supported lineup exists. However, if there is a more accepted
(and arbitrary) preset numbering scheme used, that can be used
instead.

In the UK, most/all TV users would probably expect BBC1 to be the
_first_ channel on the EPG, as historically that has always been the
case. However, and where your universal numbering scheme falls down,
different TV providers use different numbering schemes and so BBC1
_might_ be channel 1 on one platform (e.g. Freeview), it can be
channel 101 on another (Freesat).

Here the channel numbering assumption is based on relative, rather
than absolute, position in the EPG. That is an important distinction.

>> A lineup is not intended to
>> be a complete set of all channels available everywhere on all
>> platforms (that is not a lineup, that is a channel database). Nor is
>> it intended to provide a single channel preset for all channels across
>> all platforms based on past broadcast history or the whims of the
>> lineup creator.
>
> Given that English is not my native language, I can't know what "lineup"
> means precisely. I thought it meant a list of stations (not channels)
> and their presets.

As you have cut the definition I am working to from your reply, I
shall simply repeat what Mattias defined it as:

"A lineup contains a set of channels that a customer can order from
his provider"

> It seems to me that in your model, 1. the user would first have to
> select a subscription plan or channels or similar manually, then 2.+3.
> you'd download the lineup and TV programming, and 4. you'd do a channels
> scan, and 5. you'd match the stations with the channels you have.
> My idea is the opposite: 1. Scan, and find out which channels are
> receivable (and decodable), 2. fetch the lineup for the country, 3.
> match channels to stations, 4. selecting a grabber / the grabbers for
> the receivable stations, and 5. fetching the TV programming. That means
> the user doesn't have to enter anything, not even select a grabber.

Usage based on my model would be (for DVB-T/S, usage has to be
different for other types of lineup):

1. End-user application does a channel scan
2. User is optionally prompted in application for their TV provider
(the list of supported lineups can be made available either by
retrieving a lineups.xml file following the XSD, or by calling
"$grabber --list-lineups" if the app is using XMLTV for listings. If
using XMLTV, the grabber is configured at this stage.
3. The lineup is retrieved - either by retrieving a $lineup.xml file
following the XSD, or by calling "$grabber --get-lineup" if the app is
using XMLTV for listings.
4. Scanned channels are matched against the content of the lineup XML
file, XMLTV IDs are configured and channels are renumbered.
5. Listings are retrieved for configured channels.


Because lineups are specific to a TV provider, you will likely not
want every single matched channel to be configured for you
automagically. An example:

A UK satellite user does a channel scan of available DVB-S channels at
28.2E. Their application finds >1000 FTA channels but they only want
the Freesat lineup configured (176 TV and radion channels). Under my
proposal, the user simply chooses the Freesat lineup, and only those
channels are configured. If the user wanted all FTA channels carried
on 28.2E configured a separate lineup would be used with arbitrary
presets.


As a second example, if a user receives their TV through a STB
connected to their HTPC via a capture card (i.e. not a tuner) the
order would be:

1. User is prompted in application for their TV provider (the list of
supported lineups can be made available either by retrieving a
lineups.xml file following the XSD, or by calling "$grabber
--list-lineups" if the app is using XMLTV for listings. If using
XMLTV, the grabber is configured at this stage.
3. The lineup is retrieved - either by retrieving a $lineup.xml file
following the XSD, or by calling "$grabber --get-lineup" if the app is
using XMLTV for listings.
4. Channels are automagically created and configured against the
content of the lineup XML file, XMLTV IDs are configured and channels
are renumbered.
5. Listings are retrieved for configured channels.


Because there are no scanned channels to match against, the
configuration process here is different. I am not sure how your
proposal you work in this scenario.

> Given that we now understand the different needs, what do we do? As I
> said: What you want to do is possible with my spec. What I want to do is
> not possible (cleanly) with your spec.
>
>> Following my spec you can create a single DTV lineup and include all
>> DVB-T and DVB-S channels available in Germany in it, associated with
>> whatever preset you want.
>>
>> If the restriction on channel type is removed (it is an enum in the
>> XSD to enforce the intended behaviour of a lineup), you could also
>> include IPTV/analog/STB channels.
>
> Can I specify that DVB-Name "Das Erste" and "DAS ERSTE" and "Das Erste
> HD", are actually one and the same station (identically programming),
> without replicating the station name, preset etc.? This is what's
> important for my app: no duplication, clear identity of stations and 1:n
> mapping station (programming) to channel (technical reception). Given
> that you have a 1:1 mapping of stations between channels, I think that's
> not possible. And as you said, that doesn't even reflect UK landscape
> where stations and channels are separate, too.

This is factually incorrect per the XSD.

There is no 1:1 limitation on mapping stations to channels. There is a
1:n mapping of station:*-channel but it is currently limited to
channels of the same "type" (where type is DTV/STB/IPTV), so whilst
you can have unlimited DVB-S/DVB-T channels attached to a single
station, you cannot also throw in an IPTV channel (this would require
a different IPTV-specific lineup).

>> Data duplication within a single lineup is so infrequent that it is
>> not normalised out.
>
> This is not true for the setups that I know. It is *very* common to have
> both DVB-S or DVB-C plus 1-2 DVB-T receivers. On top, most stations
> these days have a normal SD channel and a HD version with identical
> programming, just higher resolution. Their DVB names and DVB IDs are of
> course different (e.g. "arte" and "arte HD" or "sky action" and "sky
> action HD"), but they are the same station. So, pretty much everybody in
> Germany who has either DVB-S or DVB-C has the situation of having 2
> channels (with different DVB names) for the same station.

Again, see above. Entirely possible with current XSD.

> And I want to shield my users from that. In my app, the user does not
> select "arte HD", but he selects "arte" and automatically gets the best
> available version. This is true for live-TV, but even more so for
> scheduling of recordings.

Not a problem. Your app configures each tuneable Arte channel against
the single Arte station configuration in the lineup. Your app can
place priority based on the best quality (e.g. HD) version of the
station and prefer to record from that.

> And I most definitely do not want to download the TV programme twice,
> once for "sky cinema" and once for "sky cinema HD", both with identical
> content. But that's status quo. That's another reason why the station
> identity is so important.

In MythTV you associate the same XMLTV ID with each station where you
want to receive the same programme listings.


Cheers,
Nick

--
Nick Morrott

MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin
Jan Ceuleers
2012-03-30 18:19:04 UTC
Permalink
On 29/03/12 14:58, Ben Bucksch wrote:
> In Germany, when somebody goes to a TV, he expects to be able to press
> the button "1" (preset) and get ARD, 2 and get ZDF, 3 and get.... I
> think it's the same in the UK with BBC 1 and 2, in France with France 1
> and France 2.

I'm in Belgium but also quite familiar with the situation in the UK.
There are in fact multiple versions many UK stations. For example, here
in Belgium I get the London version of BBC1. My sister-in-law who lives
near Carlisle gets the North version of BBC1.

There are carriers (e.g. DVB-S) that include several or all of these. I
think my sister-in-law can also receive BBC1 Scotland via DVB-T. Many
shows are therefore available from multiple sources, but potentially
even on multiple carriers (making multirec even more complex).

I'm just saying that to underline that a lineup is not necessarily
immutable within a given country; it may be different depending on the
region, and it gets complicated in areas that are near the borders
between regional coverage areas.

(Sorry if all of this is redundant given more recent messages; I have a
backlog).

Cheers, Jan
Francois Gouget
2012-04-04 00:07:05 UTC
Permalink
On Thu, 29 Mar 2012, Ben Bucksch wrote:
[...]
> I don't want to have to configure 2 XMLTV sources to feed DVB-T and
> DVB-C, and I definitely don't want the whole programme of ZDF twice in
> the database, once for the DVB-T channel and once for the DVB-C channel.
> (end of multiple sources)

I'll second that. At some point I could receive ~100 tv channels over
ADSL from my ISP in addition to the 17 from my DVB-T receiver. This
forced me to define two sources in MythTV which resulted in duplicate
entries which was very annoying (for instance when looking at the list
of upcoming movies a lot of them would be listed twice).

I can also confirm that in France people expect the main TV channels to
have standard numbers on the remote. So 1 must map to TF1, 2 to France 2,
etc. There are two caveats though:
* This does not extend to channels that are only available from ISPs,
satellite or cable as these providers each have their own numbering
schemes for non-DVB-T channels. So AB1 is on channel 22 but there's
no telling where it would be on satellite. However people would
definitely expect that typing 22 on the MythTV remote would do the
same as typing 22 on the ISP's remote.
* France 3 is special because it has regional variants (same thing
Jan Ceuleers mentioned). So on DVB-T you only get your regional
variant by pressing 3 on your TV's remote. But my ISP also provides
all other variants on channels 301, 302, etc (iirc). I'm not sure
what the DVB-S, DVB-C and other ISPs do. Also note that program
sources usually don't tell you what's on each regional variant beyond
a generic '20h30-22h30 Regional program'.

--
Francois Gouget <***@free.fr> http://fgouget.free.fr/
There are 10 types of people in the world...
those who understand binary and those who don't.
Tom Furie
2012-04-04 03:05:41 UTC
Permalink
On Wed, Apr 04, 2012 at 02:07:05AM +0200, Francois Gouget wrote:

> I'll second that. At some point I could receive ~100 tv channels over
> ADSL from my ISP in addition to the 17 from my DVB-T receiver. This
> forced me to define two sources in MythTV which resulted in duplicate
> entries which was very annoying (for instance when looking at the list
> of upcoming movies a lot of them would be listed twice).

With MythTV, you get round that problem by ensuring that the callsigns
match where programming is identical. This means you only get one
listing of that TV channel.

> I can also confirm that in France people expect the main TV channels to
> have standard numbers on the remote. So 1 must map to TF1, 2 to France 2,
> etc. There are two caveats though:
> * This does not extend to channels that are only available from ISPs,
> satellite or cable as these providers each have their own numbering
> schemes for non-DVB-T channels. So AB1 is on channel 22 but there's
> no telling where it would be on satellite. However people would
> definitely expect that typing 22 on the MythTV remote would do the
> same as typing 22 on the ISP's remote.

Why should people expect that 22 on MythTV matches 22 from your ISP?
It's a different system, just like people don't expect AB1 to be on
channel 22 on their satellite feeds.

Cheers,
Tom

--
Between grand theft and a legal fee, there only stands a law degree.
Francois Gouget
2012-04-04 08:55:08 UTC
Permalink
On Wed, 4 Apr 2012, Tom Furie wrote:
[...]
> > I can also confirm that in France people expect the main TV channels to
> > have standard numbers on the remote. So 1 must map to TF1, 2 to France 2,
> > etc. There are two caveats though:
> > * This does not extend to channels that are only available from ISPs,
> > satellite or cable as these providers each have their own numbering
> > schemes for non-DVB-T channels. So AB1 is on channel 22 but there's
> > no telling where it would be on satellite. However people would
> > definitely expect that typing 22 on the MythTV remote would do the
> > same as typing 22 on the ISP's remote.
>
> Why should people expect that 22 on MythTV matches 22 from your ISP?
> It's a different system, just like people don't expect AB1 to be on
> channel 22 on their satellite feeds.

Two things:
* I assumed that MythTV and whatever other system the user has work
from the same feed. In my case for instance, that would have been the
ISP's feed. Also I assume that that feed will be available on both
MythTV and whatever equipment is normally provided to access that
feed: TV for DVB-T, cable box for DVB-C, etc. So comparisons of both
systems will inevitably occur and both systems may even be in common
use (e.g. MythTV in the living room and the cablebox in the bedroom).
* Telling people to remember that AB1 is 22 on one system and 45 on
another is expecting too much of them(*). And given that their
satellite / cable / ISP provider is the one in the position of
authority, MythTV(**) is the one that will get blamed if it's
different.


(*) It may not be an issue for the geek setting up the system mind you.
But if I were to leave a fully configured MythTV box with such a
flaw at my parent's it would not fly. Already switching from the
TV's antenna channels to the cablebox channels is hard. So if
channels start to have different numbers there...
(**) I don't mean to pick on MythTV. It's just what I use and the
reasoning applies to any other 'TV on the computer' system.

--
Francois Gouget <***@free.fr> http://fgouget.free.fr/
In a world without fences who needs Gates?
Tom Furie
2012-04-04 11:28:44 UTC
Permalink
On Wed, Apr 04, 2012 at 10:55:08AM +0200, Francois Gouget wrote:

> * I assumed that MythTV and whatever other system the user has work
> from the same feed. In my case for instance, that would have been the
> ISP's feed. Also I assume that that feed will be available on both
> MythTV and whatever equipment is normally provided to access that
> feed: TV for DVB-T, cable box for DVB-C, etc. So comparisons of both
> systems will inevitably occur and both systems may even be in common
> use (e.g. MythTV in the living room and the cablebox in the bedroom).

What about the situation where you are feeding MythTV from DVB-T and
your ISP, and optionally any number of other sources? Suppose AB1 is at
22 on DVB-T, at 45 from your ISP, at 367 from some other source, which is
"correct"?

Then of course there's the argument that MythTV isn't really designed
for "watching TV", it's designed for recording items when they are aired
to be watched at your convenience. In that case it doesn't really matter
what the channel numbers are, so long as Myth can tune them.

Cheers,
Tom

--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
Francois Gouget
2012-04-05 02:57:09 UTC
Permalink
On Wed, 4 Apr 2012, Tom Furie wrote:
[...]
> What about the situation where you are feeding MythTV from DVB-T and
> your ISP, and optionally any number of other sources?

In France merging DVB-T with cable, satellite or ISP feeds should pose
no problem because where they overlap they use the same numbers on the
remotes.

In fact my ISP's box has both a DVB-T tuner and its Internet feed so
that when you press 1 on its remote you get TF1 but then if you press
the 'option' key you get to choose between the DVB-T/SD, DVB-T/HD,
ADSL/SD, ADSL/HD and ADSL/LowBandwidth (your preferences can also be
recorded). So where MythTV has multiple feeds for a given channel, being
able to switch between the different feeds in this way would be nice.


> Suppose AB1 is at 22 on DVB-T, at 45 from your ISP, at 367 from some
> other source, which is "correct"?

Yes, the satellite, cable and ISP feeds definitely have incompatible
numbering schemes for the other channels. So you're right that in the
general case their channels will need renumbering if they are to be
merged together. Except if the numbering scheme is specific to the
source then there's no conflict (but I don't know if tht's really
better). I would expect it to not be that common though for people to
subscribe to both cable and satellite, or ADSL and cable TV, etc. Though
for MythTV's user base that may be wrong.

So in my ideal world, if the user has cable (+DVB-T) we'd pick the cable
numbering scheme, if he has satellite (+DVB-T) we'd pick the satellite
numbering scheme, etc, but if he has more than one of cable, satellite
and ISP, then we'd pick something neutral.


> Then of course there's the argument that MythTV isn't really designed
> for "watching TV", it's designed for recording items when they are aired
> to be watched at your convenience. In that case it doesn't really matter
> what the channel numbers are, so long as Myth can tune them.

That's certainly how I use it. Watching TV live is so last century! <g>
However, in France anyone who has a box from their ISP can record TV on
their box and thus would in theory never need to watch TV live. But a
lot of them do. So I get a feeling that there's two types of users:
those that only watch specific shows they've recorded in advance, and
those that mostly want to watch what's on *now*. I think MythTV could
still be useful for the latter due to its very good live TV pausing and
rewinding capabilities. And I'd also like to see if they could be nudged
towards the first category thanks to MythTV's superior recording
scheduling capabilities but that supposes not disrupting their habits
too much initially.

--
Francois Gouget <***@free.fr> http://fgouget.free.fr/
Linux: It is now safe to turn on your computer.
Tom Furie
2012-04-05 03:40:46 UTC
Permalink
On Thu, Apr 05, 2012 at 04:57:09AM +0200, Francois Gouget wrote:

> In fact my ISP's box has both a DVB-T tuner and its Internet feed so
> that when you press 1 on its remote you get TF1 but then if you press
> the 'option' key you get to choose between the DVB-T/SD, DVB-T/HD,
> ADSL/SD, ADSL/HD and ADSL/LowBandwidth (your preferences can also be
> recorded). So where MythTV has multiple feeds for a given channel, being
> able to switch between the different feeds in this way would be nice.

I think this is sort of possible in MythTV by switching inputs/cards.

> That's certainly how I use it. Watching TV live is so last century! <g>
> However, in France anyone who has a box from their ISP can record TV on
> their box and thus would in theory never need to watch TV live. But a
> lot of them do. So I get a feeling that there's two types of users:
> those that only watch specific shows they've recorded in advance, and
> those that mostly want to watch what's on *now*. I think MythTV could
> still be useful for the latter due to its very good live TV pausing and
> rewinding capabilities. And I'd also like to see if they could be nudged
> towards the first category thanks to MythTV's superior recording
> scheduling capabilities but that supposes not disrupting their habits
> too much initially.

The situation is similar in the UK with the various providers "+" boxes.
I mostly watch pre-recorded stuff, but sometimes I just want to "browse"
without watching anything particular.

Any way, I think this has strayed too far from xmltv-devel and more to
mythtv-user (or perhaps mythtv-advocate :)), so I think we can shut down
this part of the thread.

Cheers,
Tom

--
Specifications subject to change without notice.
Loading...