[EMAIL PROTECTED] <> scribbled on Sunday, February 06, 2005
12:14 AM: 
> Torbj�rn Jansson wrote:
>> I just wanted to confirm if i have understood the fields in the
>> program table right. 
>> 
>> previouslyshown is prety obvious,
> 
> Actually, it's not ;-). There are at least three concepts that
> us humans can lump together and confuse; something I've seen
> before, something that is being rebroadcast for a second time
> today or this week, something that was shown months or years
> earlier. These are very different concepts that could all be
> referred to as repeats or reruns. The oldrecorded table tracks
> the first, the listings could have a marking to indicate either
> or both of the second and third and the originalairdate if present
> can help determine if it is the third kind.
> 

Ok, so the first case i don't have to care about.

> If something is marked as a "Repeat" (whatever that means) that
> is only informational. However, previouslyshown is used as a
> flag to determine if a showing is legible for New episodes only.
> If there is an orginalairdate, it can be determined if the episode
> first aired within the past two weeks or not. It there isn't a date
> then the best guess is if there is a Repeat flag but something
> shown a few hours earlier may be marked as a repeat and something
> from several years ago may not be.
> 

This was more complicated that i thought.
The reason i asked was that i'm trying to figure out how to best write the
fixup function for comhem dvb-c.

The description contains information like "Rerun from " folowed by either a
year, a date like 31/1 or a text like "this evening" or "today" ("kv�llen" &
"i dag") but in swedish ofcourse.
I'm trying to figure out if i shoud parse this and if so how to best add it
to the database.

It shoudn't be that hard to convert it to a date (except for the year case)
and then insert it into the orginalairdate field.

But what shoud i do about the previously shown flag?
Shoud i set it for the case where the date is a text (rerun from today) and
leave it unset for the case with day/month and let mythfilldatabase take
care of flagging it as previously shown or not?

>> And airdate is the year of the movie, kind of like production year or
>> something?
> 
> Correct! And horribly named. I've been trying to call this "year"
> internally. 
> 

Atleast i got something right :-)
And i agree that it coud have had a better name, like year.


>> And parttotal/partnumber is the episode or part number, so if i have
>> the first episode of a tv series partnumber woud be 1 and parttotal
>> the total 
> 
> These are normally not episode numbers but for two part episodes
> or mini-series and such. However, I've seen some data from Oscar
> for Sweden where these may be used as the episode number within
> a season or something like that.
> 

That's what i was thinking about, but i'll probably leave the part/episode
numbers as they are for the time being.


>> number of episodes or null if it's unknown?
>> Or does it start counting from zero?
> 
> These may be provided in the listings and are only informational
> as far as myth is concerned. They are for humans to read so they
> start from 1. It is non-sensical to use these unless there are more
> than one parts. 
> 

I understand that there is no point in using this unless there is more than
one part, but can i leave parttotal undefined if i only know the current
episode/part number and not the total?

_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to