home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Devs help on Sublink search: Bug or missunderstanding?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="lulsam" data-source="post: 527842" data-attributes="member: 28181"><p><strong>MediaPortal Version</strong>: 1.0.2 stable</p><p><strong>MediaPortal Skin</strong>: Bluetwo</p><p><strong>Windows Version</strong>: XP SP3</p><p><strong>CPU Type</strong>: AMD 64 3000+</p><p><strong>HDD</strong>: Seagate 200 GB</p><p><strong>Memory</strong>: 1 GB DDR</p><p><strong>Motherboard</strong>: Gigabyte</p><p><strong>Video Card</strong>: nvidia 6100 (mb integrated)</p><p><strong>Video Card Driver</strong>: latest</p><p><strong>Sound Card</strong>: integrated motherboard</p><p><strong>Sound Card AC3</strong>: </p><p><strong>Sound Card Driver</strong>: </p><p><strong>1. TV Card</strong>: Hauppauge HVR-1300</p><p><strong>1. TV Card Type</strong>: Hybrid analog - DVB-T</p><p><strong>1. TV Card Driver</strong>: latest</p><p><strong>2. TV Card</strong>: </p><p><strong>2. TV Card Type</strong>: </p><p><strong>2. TV Card Driver</strong>: </p><p><strong>3. TV Card</strong>: </p><p><strong>3. TV Card Type</strong>: </p><p><strong>3. TV Card Driver</strong>: </p><p><strong>4. TV Card</strong>: </p><p><strong>4. TV Card Type</strong>: </p><p><strong>4. TV Card Driver</strong>: </p><p><strong>MPEG2 Video Codec</strong>: </p><p><strong>MPEG2 Audio Codec</strong>: </p><p><strong>h.264 Video Codec</strong>: </p><p><strong>Satelite/CableTV Provider</strong>: </p><p><strong>HTPC Case</strong>: </p><p><strong>Cooling</strong>: </p><p><strong>Power Supply</strong>: </p><p><strong>Remote</strong>: Hauppauge 45 buttons</p><p><strong>TV</strong>: </p><p><strong>TV - HTPC Connection</strong>: </p><p></p><p>Trying to develop a new grabber in spain, and after weeks of work (I had to learn how to develop from scratch) able to get almost </p><p>everything working out but the "Sublink search" feature. My understanding is that this feature is not working out as expected when some specific conditions take place, but I would like to confirm with the devs. It works out when the code is something like:</p><p></p><p><a href="whatever link to search"></p><p></p><p>but if the code includes extra references the results are somewhat weird. Let me write down an example of real code:</p><p></p><p>--------------real source code of a given web--------------</p><p></p><p><strong><a class="ee" title="Aeropuerto 77| <span style="color: Red">(NO REC. MENORES DE 7 AÑOS)</span>| M-27. 23:10h. - 01:05h. (Cine - Acción)" href="/guiatv/fichaemision.html?grepi=P&id=16308627&tipo=R">Aeropuerto 77</a></strong></p><p></p><p>-----------------------end of real code--------------------------</p><p></p><p>----------------------piece of code from the grabber--------------------</p><p></p><p> <strong><Sublink search="fichaemision" template="Details" /></strong></p><p></p><p>--------------------- end of grabber code-------------------</p><p></p><p>--------------------results (taken from webepg.log) ---------------------</p><p></p><p> 2009-10-27 16:56:10.703125 [Info.][WebEPG-xmltv]: WebEPG: SubLink Request <a href="http://www.plus.es/guiatv/NO%20REC.%20MENORES%20DE%207%20A%C3%91OS" target="_blank">http://www.plus.es/guiatv/NO REC. MENORES DE 7 AÑOS</a> POST: </p><p>2009-10-27 16:56:11.187500 [Warn.][WebEPG-xmltv]: WebEPG: Getting sublinked data failed</p><p></p><p>---------------------------end of webepg.log--------------</p><p></p><p>It does not matter which piece of the target link I tried (fichaemision, guiatv, grepi, /guiatv/fichaemision. html, ....) the result is the same: Webepg tries to build the sublink with a part of code that is between the brackets, and if there are more than one part fo the code between brackets it goes for the first one. notice that in the example provided there are two different parts of the code between brackets, but in this other case:</p><p></p><p><a class="ee" title="New York Undercover: Venganzas raciales| Temporada: 2 / Episodio: 10| | MI-28. 03:30h. - 04:20h. <span style="color: Red">(Series - Policiaca)</span>" href="/guiatv/fichaemision.html?grepi=P&id=16308631&tipo=R">New York Undercover: Venganzas raciales</a></p><p></p><p>where there is only one piece of code between brackets, the sublink that webepg tries to request is:</p><p></p><p><a href="http://www.plus.es/guiatv/Series%20-%20Policiaca" target="_blank">http://www.plus.es/guiatv/Series - Policiaca</a></p><p></p><p></p><p>Anyway, this is the side efect, the fact (to be confirmed by somebody else) is that a piece of we source code like this: <a some_piece_of_additional_info_here href="whatever_link.html"> confuses webepg. I do not know if this could be considered a bug or the issue is a non standard web code or it is simply something that is not usual and therefore the people who develop webepg did not take into account. (it is impossible to take into account everything)</p><p></p><p>Would somebody else confirm this investigation?<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /> in advance.</p><p></p><p>PD: By the way, I notice that there is also another thread talking about an issue with the "Sublink search" feature, but I am not sure if it is fully related or not <a href="https://forum.team-mediaportal.com/webepg-136/search-sublink-extra-info-tag-69756/" target="_blank">https://forum.team-mediaportal.com/webepg-136/search-sublink-extra-info-tag-69756/</a> because the extra info is not before the href but after</p></blockquote><p></p>
[QUOTE="lulsam, post: 527842, member: 28181"] [b]MediaPortal Version[/b]: 1.0.2 stable [b]MediaPortal Skin[/b]: Bluetwo [b]Windows Version[/b]: XP SP3 [b]CPU Type[/b]: AMD 64 3000+ [b]HDD[/b]: Seagate 200 GB [b]Memory[/b]: 1 GB DDR [b]Motherboard[/b]: Gigabyte [b]Video Card[/b]: nvidia 6100 (mb integrated) [b]Video Card Driver[/b]: latest [b]Sound Card[/b]: integrated motherboard [b]Sound Card AC3[/b]: [b]Sound Card Driver[/b]: [b]1. TV Card[/b]: Hauppauge HVR-1300 [b]1. TV Card Type[/b]: Hybrid analog - DVB-T [b]1. TV Card Driver[/b]: latest [b]2. TV Card[/b]: [b]2. TV Card Type[/b]: [b]2. TV Card Driver[/b]: [b]3. TV Card[/b]: [b]3. TV Card Type[/b]: [b]3. TV Card Driver[/b]: [b]4. TV Card[/b]: [b]4. TV Card Type[/b]: [b]4. TV Card Driver[/b]: [b]MPEG2 Video Codec[/b]: [b]MPEG2 Audio Codec[/b]: [b]h.264 Video Codec[/b]: [b]Satelite/CableTV Provider[/b]: [b]HTPC Case[/b]: [b]Cooling[/b]: [b]Power Supply[/b]: [b]Remote[/b]: Hauppauge 45 buttons [b]TV[/b]: [b]TV - HTPC Connection[/b]: Trying to develop a new grabber in spain, and after weeks of work (I had to learn how to develop from scratch) able to get almost everything working out but the "Sublink search" feature. My understanding is that this feature is not working out as expected when some specific conditions take place, but I would like to confirm with the devs. It works out when the code is something like: <a href="whatever link to search"> but if the code includes extra references the results are somewhat weird. Let me write down an example of real code: --------------real source code of a given web-------------- [B]<a class="ee" title="Aeropuerto 77| [COLOR="Red"](NO REC. MENORES DE 7 AÑOS)[/COLOR]| M-27. 23:10h. - 01:05h. (Cine - Acción)" href="/guiatv/fichaemision.html?grepi=P&id=16308627&tipo=R">Aeropuerto 77</a>[/B] -----------------------end of real code-------------------------- ----------------------piece of code from the grabber-------------------- [B]<Sublink search="fichaemision" template="Details" />[/B] --------------------- end of grabber code------------------- --------------------results (taken from webepg.log) --------------------- 2009-10-27 16:56:10.703125 [Info.][WebEPG-xmltv]: WebEPG: SubLink Request [url]http://www.plus.es/guiatv/NO%20REC.%20MENORES%20DE%207%20A%C3%91OS[/url] POST: 2009-10-27 16:56:11.187500 [Warn.][WebEPG-xmltv]: WebEPG: Getting sublinked data failed ---------------------------end of webepg.log-------------- It does not matter which piece of the target link I tried (fichaemision, guiatv, grepi, /guiatv/fichaemision. html, ....) the result is the same: Webepg tries to build the sublink with a part of code that is between the brackets, and if there are more than one part fo the code between brackets it goes for the first one. notice that in the example provided there are two different parts of the code between brackets, but in this other case: <a class="ee" title="New York Undercover: Venganzas raciales| Temporada: 2 / Episodio: 10| | MI-28. 03:30h. - 04:20h. [COLOR="Red"](Series - Policiaca)[/COLOR]" href="/guiatv/fichaemision.html?grepi=P&id=16308631&tipo=R">New York Undercover: Venganzas raciales</a> where there is only one piece of code between brackets, the sublink that webepg tries to request is: [url]http://www.plus.es/guiatv/Series%20-%20Policiaca[/url] Anyway, this is the side efect, the fact (to be confirmed by somebody else) is that a piece of we source code like this: <a some_piece_of_additional_info_here href="whatever_link.html"> confuses webepg. I do not know if this could be considered a bug or the issue is a non standard web code or it is simply something that is not usual and therefore the people who develop webepg did not take into account. (it is impossible to take into account everything) Would somebody else confirm this investigation?:thx: in advance. PD: By the way, I notice that there is also another thread talking about an issue with the "Sublink search" feature, but I am not sure if it is fully related or not [URL="https://forum.team-mediaportal.com/webepg-136/search-sublink-extra-info-tag-69756/"]https://forum.team-mediaportal.com/webepg-136/search-sublink-extra-info-tag-69756/[/URL] because the extra info is not before the href but after [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Devs help on Sublink search: Bug or missunderstanding?
Contact us
RSS
Top
Bottom