Hi, I've opened three issues in github:
movistarplus.es: Director and producer tags are missing
https://github.com/SilentButeo2/webgrabplus-siteinipack/issues/553
movistarplus.es feature request: channel number
https://github.com/SilentButeo2/webgrabplus-siteinipack/issues/552
movistarplus.es site incorrect logo URL
https://github.com/SilentButeo2/webgrabplus-siteinipack/issues/551
done.
will be updated on git/siteini.pack
Thanks for your fast support. I'm checking updated version:
1) Director: OK
2) Incorrect logo: OK (Transparent one, but OK)
3) Channel number is not ok, I think you may generate the following code to allow TVH parse correctly with "Channel numbers (heuristic)" option activated (And no disturbing real channel name):
(PSEUDO XML because forum dont allow to put code)
channel id="Mezzo Live HD"
display-name Mezzo Live HD /display-name
display-name 124 /display-name
icon src="http://746506.skal.fun/%3Ca%20href%3D"https://www.movistarplus.es/recorte/m-DPBLAN/guiapc/MEZOHD.png">https://www.movistarplus.es/recorte/m-DPBLAN/guiapc/MEZOHD.png"
url http://www.movistarplus.es /url
/channel
webgrab cannot assign multiple display names for a channel.
also changed the logo in the above file,only difference i see is the size.
previous file had 276x180
updated above is 112x98
Ok, then we need to remove the brackets. If not we have not correctly parsed channel name neither channel number.
channel id="Mezzo Live HD"
display-name 124 Mezzo Live HD /display-name
you could easily do that with a editor using replace but i removed them.
file updated above.
About the logo URL, we have this two:
https://www.movistarplus.es/recorte/m-NEO/canal/TVE.png (112x98)
https://www.movistarplus.es/recorte/m-DPBLAN/guiapc/TVE.png (184x120)
The small one is more margin adjusted and fits better, at least in my kodi UI.
In any case, i think that, ideally, the point is to extract the channel number from site directly to guide.xml, not putting them in channels.xml because that implies to manually maintain them in my channel list.
Maybe WebGrab++.config.xml needs a new option about that: channel number at first in displayname or not.
i doubt you will see that happen as it would require a big rewrite of the code because of the way the channel list is created.
the guide.xml uses the same data as the channel list, although u can edit this info in your <channel lines in your webgrab config.
channel info is not related to epg info,in most cases for the data isnt even on the same page.
Ok, I understand now. Then to put the channel number in channels.xml is the only way. In that case I don't care about the format because I will need to preprocess/generate it.
Then what I will need is a way to generate an updated channel.xml on demand, without your intervention. Can you share with us movistarplus.es encrypted excerpt for channel auto gen (with channel numbers)?
Regards and thanks for your support.
** @auto_xml_channel_start
*index_site_id.scrub {regex||"([^"]*)-CODE":||}
*index_site_channel.scrub {multi|"NOMBRE":"||",|",}
*index_temp_1.scrub {multi|"DIAL_PRINCIPAL":["||"]|"]}
*scope.range {(channellist)|end}
*index_temp_2.modify {set|0}
*loop {(each "index_temp_3" in 'index_site_channel')|end}
*index_temp_4.modify {substring(type=element)|'index_temp_1' 'index_temp_2' 1}
*index_temp_5.modify {addend|['index_temp_4'] 'index_temp_3'#_#}
*index_temp_2.modify {calculate(format=F0)|1 +}
*end_loop
*index_site_channel.modify{substring(type=regex)|'index_temp_5' "(.*?)#_#"}
*index_site_channel.modify{cleanup(style=unidecode)}
*index_site_id.modify {cleanup(removeduplicates link="index_site_channel")}
*end_scope
** @auto_xml_channel_end
Sorry but seems some url is missing. I tried to add:
url_index{url|https://www.movistarplus.es/programacion-tv}
but not works. Empty list.
its uses the same url and the url_index line near the top of the ini so you dont need to specify it twice.
are you using update c?
But is encrypted the ini! not url or url_index.
Sure I use update c and dummy channel. It works with the other providers, but not my custom one.
u cannot just add the channel creation to a encrypted ini.
it wont work.
download again in above post,its unencrypted.
Ok, copy! Easiest with the unencrypted ini heheh. I got it!
EDIT: Some channels are getting "\n" at end of channel name
if your getting into editing ini i try to maintain syntax highlighting files for a few different editors.
https://github.com/Blackbear199?tab=repositories
fixed in above files or add thsi line after *loop line
*index_temp_3.modify {remove|\\n}
Channel list is not grabbing anymore since May 5th. While using this post `movistarplus.es.ini`. I get this error:
```
cat WebGrab++.l cat WebGrab++.log.txt
[ ]
[ ] WebGrab+Plus/w MDB & REX Postprocess -- version V5.0.1.0
[ ]
[ ] Jan van Straaten
[ ] Francis De Paemeleere
[ ]
[ ] thanks to Paul Weterings, Mat8861, Blackbear199 and all the contributing users
[ ] --------------------------------------------------------------------------------
[ ]
[ ] Job started at 07/05/2023 11:26:26
[ Debug ]
[ Debug ] Running on: Unix 6.1.26.0
[ Debug ] Environment: 6.0.16
[ Debug ]
[ Debug ] Loading timezone data
[ Debug ] Embedded timezones source: WG.common.timezone.timezonesdata.txt
[ Debug ] Reading config file: /var/lib/webgrabplus/WebGrab++.config.xml
[ Info ] Checking License ..
[ Info ] For License request/update data, see WGLicense.log.txt
[ ] Job finished at 07/05/2023 11:26:26 done in 0s
[Critical]
Object reference not set to an instance of an object.
[Critical]
at . ..ctor(String )
at .․. (String[] )
[Critical] Unhandled Exception
[Critical] For detailed info, see log file /var/lib/webgrabplus/WebGrab++.log.txt
[Critical] Execution stopped
```
Check your dns, that error is 99% given when wg++ cannot check the license thru the network