You are here

'starrating' misbehavior or personal dislike since v5.2

9 posts / 0 new
Last post
frabe8378910
Offline
Donator
Joined: 2 years
Last seen: 7 months
'starrating' misbehavior or personal dislike since v5.2

Dear all!

I am running webgrab+plus for two years for Emby Premium on Debian Linux - always happy with the combination. :-)
The site used is "tvdigital.de" which works fine for me. I've update to v5.2 lately and after some days I recognize that I lost some important information, which will be delivered by the <star-rating> tag. As Emby does not use several tags like <actor>, <star-rating> and so on I've used "rex" to merge that Info into the <description> tag. Worked fine.

This is the rex.config.xml line which did the trick:
<desc>{'description(, )'. }{\n\t¤ Country: 'country(, )'. }{\n\t¤ Produced in: 'productiondate(, )'. }{\n\t¤ Category: 'category(, )'. }{\n\tProducer: 'producer(, )'. }{\n\t¤ Actors: 'actor/a+(, )'. }{\n\t¤ Director: 'director(, )'. }{\n\t¤ Presenter: 'presenter(, )'. }{\n\t¤ Writer: 'writer(, )'. }{\n\t¤ Composer: 'composer(, )'. }{\n\t¤ Rating: 'starrating/a+(, )'. }</desc>

tvdigital.de uses <star-rating> with several "system" values:
<star-rating system="Humor">
<value>0/3</value>
</star-rating>
<star-rating system="Tipp">
<value>0/1</value>
</star-rating>
<star-rating system="Sex">
<value>0/3</value>
</star-rating>
<star-rating system="Spannung">
<value>0/3</value>
</star-rating>
<star-rating system="Action">
<value>0/3</value>
</star-rating>
<star-rating system="Romantik">
<value>0/3</value>
</star-rating>

With v5.1.4-beta the results were as aspected in the new <description> tag:

<programme start="20240618041500 +0200" stop="20240618051500 +0200" channel="3sat">
<title lang="de">Heimatsound Concerts</title>
<sub-title lang="de">Dreiviertelblut</sub-title>
<desc>Musik aus der Region - Diese Reihe präsentiert ..
¤ Country: A/D.
¤ Produced in: 2019.
¤ Category: Musik, Konzertreihe.
¤ Starrating: 0/3(system Humor), 0/3(system Romantik), 0/3(system Action), 0/3(system Spannung), 0/3(system Sex), 0/1(system Tipp). </desc>
<date>2019</date>
<category lang="de">Musik</category>
<category lang="de">Konzertreihe</category>
<icon src="https://epg-image.tvdigital.de/778x436/14802644.jpg" />
<country lang="de">A/D</country>
<star-rating system="Humor">
<value>0/3</value>
</star-rating>
<star-rating system="Tipp">
<value>0/1</value>
</star-rating>
<star-rating system="Sex">
<value>0/3</value>
</star-rating>
<star-rating system="Spannung">
<value>0/3</value>
</star-rating>
<star-rating system="Action">
<value>0/3</value>
</star-rating>
<star-rating system="Romantik">
<value>0/3</value>
</star-rating>
</programme>

With v5.2 the results were useless in the new <description> tag:

<programme start="20240618005500 +0200" stop="20240618021500 +0200" channel="3sat">
<title lang="de">Heimatsound Concerts</title>
<desc lang="de">Musik aus der Region ... ,
¤ Country: A/D. ,
¤ Produced in: 2023. ,
¤ Category: Musik, Konzertreihe.
¤ Starrating: 0/10(system Humor). </desc>
<date>2023</date>
<category lang="de">Musik</category>
<category lang="de">Konzertreihe</category>
<icon src="https://epg-image.tvdigital.de/778x436/17738122.jpg" />
<country lang="de">A/D</country>
<star-rating system="Humor">
<value>0/10</value>
</star-rating>
</programme>

For details please see attached files. Files:
1) rex.config.xml => rex config
2) WGepguide.xml => shortened file after grabbing
3) WGRepguide-5.1.4_beta.xml => file after rex with v5.1.4-beta (correct results)
4) WGRepguide-5.2.xml => file after rex with v5.2 (useless 'starrationg' results!)

I've tested a lot, but nothing brought the old behavior back. Any ideas how to get the results like in versions before v5.2?

Thanks in advance for any help.

Blackbear199
Offline
Has donated long time ago
Joined: 10 years
Last seen: 4 months

indeed it doenst look right.
i sent a msg to jan(creator) to look into this.

frabe8378910
Offline
Donator
Joined: 2 years
Last seen: 7 months

Thank you.

And I just recognized that with v5.1.4-beta rex need ONE minute to process the 27MB grab file:

[ Debug ] 17913 shows in 40 channels
[ Debug ] 0 updated shows
[ Debug ] 17913 new shows added
[ Info ]
[ Info ]
[ ] Job finished at 16/06/2024 16:32:39 done in 36m 58s
[ Info ] Job (REX Version: 3.2.1) started at 16/06/2024 16:32:39
[ Info ] Starting REX Postprocess
[ Info ] .. done
[ Info ] File written to :
[ Info ] /zfshare/TVheadend/xmltv/WGRepguide.xml
[ Info ]
[ Info ]
[ ] Finished Postprocess REX
[ Info ] Job (rex) finished at 16/06/2024 16:33:32 done in 52s

With v5.2 rex needed about 2 hours!

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 13 years
Last seen: 4 hours
Is the support helpful?
support us

Upload the xmltv source and the rex.config to webgrabpp@gmail.com
I will look into it .. thanks Jan

frabe8378910
Offline
Donator
Joined: 2 years
Last seen: 7 months
WGMaker wrote:

Upload the xmltv source and the rex.config to webgrabpp@gmail.com
I will look into it .. thanks Jan

Done. I zipped the xmltv source file as it was over 20MB in size.

Thanks in advance.
Frank

swmathe
Offline
Donator
Joined: 3 years
Last seen: 2 weeks

Hi,
I think the problem is caused by the points within .... row . I tested and after deleting the points within .... REX worked fine. Here is the correctly working row:

{'description(, )'}{\n\t¤Country: 'country/a(, )'}{\n\t¤Year : 'productiondate(, )'}{\n\t¤Category: 'category(, )'}{\n\tProducer: 'producer(, )'} and so on.

I hope this will help you.

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 13 years
Last seen: 4 hours
Is the support helpful?
support us

> I found what went wrong . At least for 2 of the 3 issues
> (in fact, I didn't follow the well-known advise .. if it ain't broken don't fix it)
> But I had to rewrite most of the rex code because it became very messy .
> 1. A new option in REX is to 'convert' the starrating value . (as was
> already possible in MDB) . In the implementation I didn't realise that there
> can be more than one star-rating element in the source. That's why you only
> see one in the output.
> 2. This same option was not disabled if there is no setting for that in
> rex.config . So it used the default values for it which converts it to
> xx/10

I wonder what (other?) problem removing the .. in the config line solved for swmathe. Can you explain that ?

frabe8378910
Offline
Donator
Joined: 2 years
Last seen: 7 months
WGMaker wrote:

I wonder what (other?) problem removing the .. in the config line solved for swmathe. Can you explain that ?

None of my problems at least, if you asked me. :-) I've just checked with v5.2 to be save!
BTW and I don't know if it is relevant:

rex output of v5.2 creates a "," after most lines!
" Das Magazin bietet Hintergrundinformationen, Porträts und Gespräche zu aktuellen und brisanten Fragen.,
¤ Country: A/CH/D,
¤ Produced in: 2024,
¤ Category: Musik, Kulturmagazin
¤ Presenter: Nina Mavis Brunner
¤ Starrating: 0/10(system Humor)

rex output of v5.1.4-beta does look cleaner
" Das Magazin bietet Hintergrundinformationen, Porträts und Gespräche zu aktuellen und brisanten Fragen.
¤ Country: A/CH/D
¤ Produced in: 2024
¤ Category: Musik, Kulturmagazin
¤ Presenter: Nina Mavis Brunner
¤ Starrating: 0/3(system Humor), 0/3(system Romantik), 0/3(system Action), 0/3(system Spannung), 0/3(system Sex)

regards Frank

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 13 years
Last seen: 4 hours
Is the support helpful?
support us

This issue is solved in V5.2.1 beta . There is also a fix of the rather slow processing of episode-num conversion.

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