You are here

[SOLVED] se.no

9 posts / 0 new
Last post
francis
Offline
francis's picture
Has donated long time agoWG++ Team member
Joined: 12 years
Last seen: 9 months
Is the support helpful?
support us
[SOLVED] se.no

Some users asked for a new norsk tvguide.

I have made one for se.no.

REMARK: it uses cookies. So read the se.no_info.txt for that.

If there are issues with this .ini file, let me know.

 

Attachments: 
pilot_bas
Offline
Donator
Joined: 11 years
Last seen: 4 years

Hi Francis,
 
First of all, thanks for creating this tvguide.
Unfortunately it is not working here.
I had to change the se.no ini file:
**      #####  CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
* @auto_xml_channel_start
scope.range {(channellist)|end}
url_index{url|http://www.se.no/tv/}
In the last line above, the link was www.se.no/kanaler/
After I changed kanaler to tv it was grabbing channels.
It was grabbing the requested amounts of days, but it repeats the program from today. Meaning that todays schedule was also grabbed for tomorrow and the day after.
Is there something wrong maybe with the date selection?
Hopefully you can help me out of this issue.
Thanks!
Bas

francis
Offline
francis's picture
Has donated long time agoWG++ Team member
Joined: 12 years
Last seen: 9 months
Is the support helpful?
support us

Hi Bas,
 
Ah correct. I forgot to comment out the channel generation. I have adjusted it.
What you did, was alter the channel generation in a way that also the EPG grabbing was doing somthing.
Chan you check if this now works? Just rename the file to se.no.ini!

Attachments: 
pilot_bas
Offline
Donator
Joined: 11 years
Last seen: 4 years

Hi,
Thanks, the new ini file works perfert!
Just one small question for you if that is ok.
I deleted the lines which i don't use and that seems to be fine so far.
I inserted a combi channel with 3 lines.
Can you please check if I have done this correct as it seems not to be working.
I just want to know if th channel combi is written ok.
-->   
    <channel update="i" site="se.no" site_id="channel_1" xmltv_id="NRK 1">NRK 1</channel>
    <channel update="i" site="se.no" site_id="channel_2" xmltv_id="NRK 2">NRK 2</channel>
    <channel update="i" site="se.no" site_id="channel_3" xmltv_id="TV 2">TV 2</channel>
    <channel update="i" site="se.no" site_id="channel_4" xmltv_id="TV2 Zebra">TV2 Zebra</channel>
    <channel update="i" site="se.no" site_id="channel_5" xmltv_id="TV3">TV3</channel>
    <channel update="i" site="se.no" site_id="channel_6" xmltv_id="Viasat 4">Viasat 4</channel>
    <channel update="i" site="se.no" site_id="channel_7" xmltv_id="TVNorge">TVNorge</channel>
    <channel update="i" site="se.no" site_id="channel_8" xmltv_id="SVT 1">SVT 1</channel>
    <channel update="i" site="se.no" site_id="channel_9" xmltv_id="SVT 2">SVT 2</channel>
    <channel update="i" site="se.no" site_id="channel_19" xmltv_id="Cartoon Network">Cartoon Network</channel>
    <channel update="i" site="se.no" site_id="channel_26" xmltv_id="BBC World">BBC World</channel>
    <channel update="i" site="se.no" site_id="channel_38" xmltv_id="Disney Channel">Disney Channel</channel>
    <channel update="i" site="se.no" site_id="channel_78" xmltv_id="Tv2 Film">Tv2 Film</channel>
    <channel update="i" site="se.no" site_id="channel_81" xmltv_id="NRK 3 Super" period="00:00-07:00">NRK 3</channel>
    <channel update="i" site="se.no" site_id="channel_89" xmltv_id="NRK 3 Super" period="07:00-19:30">NRK Super</channel>
    <channel update="i" site="se.no" site_id="channel_81" xmltv_id="NRK 3 Super" period="19:30-24:00">NRK 3</channel>
    <channel update="i" site="se.no" site_id="channel_82" xmltv_id="FEM">FEM</channel>
    <channel update="i" site="se.no" site_id="channel_85" xmltv_id="TV2 Sport">TV2 Sport</channel>
    <channel update="i" site="se.no" site_id="channel_99" xmltv_id="TV2 Nyhetskanalen">TV2 Nyhetskanalen</channel>
    <channel update="i" site="se.no" site_id="channel_101" xmltv_id="Animal Planet HD">Animal Planet HD</channel>
    <channel update="i" site="se.no" site_id="channel_102" xmltv_id="Boomerang">Boomerang</channel>
    <channel update="i" site="se.no" site_id="channel_103" xmltv_id="Discovery HD">Discovery HD</channel>
    <channel update="i" site="se.no" site_id="channel_106" xmltv_id="Eurosport HD">Eurosport HD</channel>
    <channel update="i" site="se.no" site_id="channel_108" xmltv_id="National Geographic Channel HD">National Geographic Channel HD</channel>
    <channel update="i" site="se.no" site_id="channel_110" xmltv_id="TV Norge HD">TV Norge HD</channel>
    <channel update="i" site="se.no" site_id="channel_122" xmltv_id="MAX">MAX</channel>
    <channel update="i" site="se.no" site_id="channel_123" xmltv_id="TV 2 Bliss">TV 2 Bliss</channel>
    <channel update="i" site="se.no" site_id="channel_127" xmltv_id="Fox Crime">Fox Crime</channel>
</settings>
 
Many thanks!
Bas

francis
Offline
francis's picture
Has donated long time agoWG++ Team member
Joined: 12 years
Last seen: 9 months
Is the support helpful?
support us

seems to be ok.

only one thing (I'm nog sure about)

<channel update="i" site="se.no" site_id="channel_89" xmltv_id="NRK 3 Super" period="07:00-19:30">NRK Super</channel>

should be

<channel update="i" site="se.no" site_id="channel_89" xmltv_id="NRK 3 Super" period="07:00-19:30">NRK 3</channel>

I think.

And an additional remark. Currently there is some issue with the combi channels. Around midnight, the shows are cutoff.

pilot_bas
Offline
Donator
Joined: 11 years
Last seen: 4 years

 
 
Hi Francis,
strange...
I tried your solution, but no results. You changed NRK super into NRK 3. NRK super is the channel I would like to grab in this time period, not NRK 3.
xmltv_id can be any name isn't it? I choos NRK 3 Super as it is a combination of these two.
I think most providers here in Norway (if not all) combine the NRK 3 with the NRK super. If someone else got this working, please let me know :-)
I do get channel info it I just grab NRK 3 or NRK Super seperately, so it has something to do with combining channels I guess.
Below a part of my log where I deleted a few hundered of "skipped ; not within requested channel period" lines to keep it readable...
 
Channel Tv2 Film site -- SE.NO -- update mode incremental
   Summary for update of Tv2 Film
     no changes, no update necessary !
     unchanged shows inspected 66
     total after update        70
Channel NRK 3 Super site -- SE.NO -- update mode incremental
        for the period 00:00-07:00
   Summary for update of NRK 3 Super
     no changes, no update necessary !
     unchanged shows inspected 0
     total after update        0
Channel NRK 3 Super site -- SE.NO -- update mode incremental
        for the period 07:00-19:30
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   Summary for update of NRK 3 Super
     no changes, no update necessary !
     unchanged shows inspected 0
     total after update        0
Channel NRK 3 Super site -- SE.NO -- update mode incremental
        for the period 19:30-00:00
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
   skipped ; not within requested channel period
  
 
Hopefully you can help me with this?
Regards,
Bas

francis
Offline
francis's picture
Has donated long time agoWG++ Team member
Joined: 12 years
Last seen: 9 months
Is the support helpful?
support us

Ok, this is a special siteini that used the xml_id to grab things. But have changed it, so it could work.
Just be sure to not change the config_display_name in the channel entries. So don't change

>NRK 3</channel>

and

>NRK Super</channel>

Also for all other channels you want to grab.

I have tested it with next lines:

  <channel update="i" site="se.no" site_id="channel_81" xmltv_id="NRK 3" period="00:00-07:00">NRK 3</channel>
  <channel update="i" site="se.no" site_id="channel_89" xmltv_id="NRK 3" period="07:00-19:30">NRK Super</channel>
  <channel update="i" site="se.no" site_id="channel_81" xmltv_id="NRK 3" period="19:30-24:00">NRK 3</channel>

 
 

Attachments: 
pilot_bas
Offline
Donator
Joined: 11 years
Last seen: 4 years

This is looking very good!
I've tested it and it is working!
I do have the issue with the programs starting before midnight and ending after midnight beiing split, but hey, that is not so bad.
Thanks for helping to get a good tvguide for my Mediaportal!
Have a nice weekend!
Bas
 

pilot_bas
Offline
Donator
Joined: 11 years
Last seen: 4 years

One more question,
Is there a way to change the name of the category?
For example, I would like to change the crabbed catergory "barn" into "Barn"
The reason for this is that Mediaportal is not recognizing the difference :-(
I saw some statements in other ini files, but I have no idea what I am doing :-)
Can you help me with this one?
Thanks!
Bas
 
EDIT:
forget this question. I managed to change the tv server database and added the category lines into it. Now it is working all fine.
Thanks for your help!

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl