You are here

[SOLVED] tv.dir.bg update request

10 posts / 0 new
Last post
martos
Offline
Donator
Joined: 10 years
Last seen: 3 months
[SOLVED] tv.dir.bg update request

Hi Guys,
Can you please update tv.dir.bg.ini? The site adds some new tags and the title for some shows is cut. With this:
<b>05.00&nbsp;</b><a href="http://www.webgrabplus.com/%3Ca%20href%3D"http://tv.dir.bg/tv_movie.php?id=575"><span">http://tv.dir.bg/tv_movie.php?id=575"><span class="blue_ar_11">Америка</span></a>нска пума<br /=true>
 
I get only:
<title lang="bg">Америка </title>
for title and ind the description I get info about the movie "America". This happens only when ther is a href in the title.
 
 

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

I have adjusted the .ini. You can find it on our EPG channels page.
If you just could check it, because this language is not something I master. (and Google translate is helpfull, but not perfect)

martos
Offline
Donator
Joined: 10 years
Last seen: 3 months

Thank you for trying but I think it is still not ok. For example we have in todays "National Geographic Channel" schedule:
 

<b>20.00&nbsp;</b>Сервиз SOS: <a href="http://webgrabplus.com/%3Ca%20class%3D"attribute-value" href="http://tv.dir.bg/tv_movie.php?id=737">http://tv.dir.bg/tv_movie.php?id=737"><span class="blue_ar_11">Завръщането</span></a> на Роувър<br>

The grabber returns:
  <programme start="20130827200000 +0300" stop="20130827205500 +0300" channel="National Geographic Channel">
    <title lang="bg">Завръщането</title>
    <sub-title lang="bg">The Comeback</sub-title>
    <desc lang="bg">A one-time sitcom star (Lisa Kudrow) tries to resuscitate her career</desc>
    <credits>
      <actor>Lisa Kudrow</actor>
      <actor>Laura Silverman</actor>
      <actor>Damian Young</actor>
      <actor>JT Alexander</actor>
      <producer>Michael Patrick King и др.</producer>
    </credits>
  </programme>
Which is the info for the movie "The Comeback" (http://tv.dir.bg/tv_movie.php?id=737) but it should return something like:
  <programme start="20130827200000 +0300" stop="20130827205500 +0300" channel="National Geographic Channel">
    <title lang="bg">Сервиз SOS</title>
    <sub-title lang="bg">Завръщането на Роувър</sub-title>
  </programme>
One of the problems is that tv.dir.bg f*cks up the content when there is occurance of certain words e.g. here we have "Завръщането" which is "The Comeback" in English. I think we have to ignore all that links if we want to have correct info...

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

Ok, I think I know what you mean.
It seams the site scans the title of shows and if it finds some words, it puts a link to it (even if it is only a part of the title).
What I see is that when a title has a link that is ENTIRELY between ", it looks like the link is ok.
I have adjusted the .ini for that and attached it here.
Could you test this. You need the latest beta release 52.6pre!
Let me know if this works. Else, we have to remove the detail pages and only have the start/end times and titles.

martos
Offline
Donator
Joined: 10 years
Last seen: 3 months

I think it is worse now. There is a html tag it the title:
  <programme start="20130828065000 +0300" stop="20130828074500 +0300" channel="National Geographic Channel">
    <title lang="bg">Разглоби ме: Коли за почивката&lt;br /&gt;</title>
    <desc lang="bg">Разглоби ме: Коли за почивката&lt;br /&gt;.</desc>
    <episode-num system="xmltv_ns">.-1.</episode-num>
  </programme>
And this is when we have "America" in the title:
  <programme start="20130828084000 +0300" stop="20130828093500 +0300" channel="National Geographic Channel">
    <title lang="bg">Америка / Сериали / TV / Медии Dir.bg</title>
    <sub-title lang="bg">America: На какво сте способни, за да сбъднете своята мечта? Младата героиня Сол (Дебора Секо) рискува, прекосявайки опасната граница между Мексико и Съединените Щати в търсене на по-щастлив живот в Земята на възможностите. Каубоят Тияо (Мурило Бенисио) рискува живота си яздейки бикове, в желанието си да стане по родео. Техните пътища ще се пресекат ще изживеят незабравима любовна история. Щe успее ли тази любов, между момиче преследващо Американската мечта и типичен представител на Бразилското потомство, да устои на разликата в мечтите и цели им? Главната героиня в сериала - Сол - има мечта: да живее в САЩ, където тя вярва, че всичките й мечти ще се сбъднат. Подобно на хиляди други хора по света, тя си представя Америка като страната на хората с късмет. Тя вярва в американската мечта и е готова да поеме всички рискове, за да я изпълни. Сол е мечтателка, но вярва, че е много находчива и реалистка. След няколко рисковани опита да премине границата, тя най-накрая успява да влезе в Америка и се установява в Маями. Тияо пък преследва кариерата си на състезател в родео турнири и те го довеждат също до... Америка. И техните пътища ще се пресекат отново.</sub-title>
    <desc lang="bg">"America": На какво сте способни, за да сбъднете своята мечта? Младата героиня Сол (Дебора Секо) рискува, прекосявайки опасната граница между Мексико и Съединените Щати в търсене на по-щастлив живот в „Земята на възможностите”. Каубоят Тияо (Мурило Бенисио) рискува живота си яздейки бикове, в желанието си да стане по родео. Техните пътища ще се пресекат ще изживеят незабравима любовна история. Щe успее ли тази любов, между момиче преследващо Американската мечта и типичен представител на Бразилското потомство, да устои на разликата в мечтите и цели им? Главната героиня в сериала - Сол - има мечта: да живее в САЩ, където тя вярва, че всичките й мечти ще се сбъднат. Подобно на хиляди други хора по света, тя си представя Америка като страната на хората с късмет. Тя вярва в американската мечта и е готова да поеме всички рискове, за да я изпълни. Сол е мечтателка, но вярва, че е много находчива и реалистка. След няколко рисковани опита да премине границата, тя най-накрая успява да влезе в Америка и се установява в Маями. Тияо пък преследва кариерата си на състезател в родео турнири и те го довеждат също до... Америка. И техните пътища ще се пресекат отново.  .</desc>
    <credits>
      <actor>Дебора Секо</actor>
      <actor>Мурило Бенисио</actor>
      <actor>Лукас Бабин</actor>
      <actor>Франсиско Куоко</actor>
      <actor>Даниела Ескобар</actor>
      <actor>Умберто Мартинс и др</actor>
      <producer>Federico Bonani</producer>
      <producer>Teresa Lampreia</producer>
    </credits>
    <category lang="bg">&lt;a href="http://webgrabplus.com/%3Ca%20href%3D"http://tv.dir.bg/tv_movie.php?id=575"&gt;&lt;span">http://tv.dir.bg/tv_movie.php?id=575"&gt;&lt;span class="blue_ar_11"&gt;Америка</category>
    <episode-num system="xmltv_ns">.-1.</episode-num>
  </programme>
Perhaps it is better to have only the start/end times and titles but the final xml to be with the correct info.

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

OK, my fault.
Forgot to attach the new .ini here on the forum. Done that now. Its .ini revision n° 2.
Again, use the latest 52.6pre build (or later)
If it is ok for National Geographic, could you also test for other channels (that have correct links)

Attachments: 
martos
Offline
Donator
Joined: 10 years
Last seen: 3 months

It is better now but there are still some things to correct. For example National Geographic 31.08:

<b>14.00&nbsp;</b><a href="http://webgrabplus.com/%3Ca%20class%3D"attribute-value" href="http://tv.dir.bg/tv_movie.php?id=575">http://tv.dir.bg/tv_movie.php?id=575"><span class="blue_ar_11">Америка</span></a>нска колония: Нарушение на закона<br>

The grabber gives:
  <programme start="20130831140000 +0300" stop="20130831150000 +0300" channel="National Geographic Channel">
    <title lang="bg">Америка</title>
  </programme>
Is it possible to clear only "<a href="http://webgrabplus.com/%3Ca%20class%3D"attribute-value" href="http://tv.dir.bg/tv_movie.php?id=575">http://tv.dir.bg/tv_movie.php?id=575"><span class="blue_ar_11"></span></a>"?

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

Ok, I've removed the detail show grabbing.
Hope you can test this again (on multiple channels)

Attachments: 
martos
Offline
Donator
Joined: 10 years
Last seen: 3 months

I think it is ok now but will test some more days and will write again.

martos
Offline
Donator
Joined: 10 years
Last seen: 3 months

It is ok. Thank you! :)

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