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
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Scraper support of backdrop loading
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="mitiok2008" data-source="post: 478063" data-attributes="member: 88086"><p>I test it finally by myself. I put some code inside get_backdrop action node.</p><p>[CODE]<action name="get_backdrop"></p><p></p><p> <set name="rx_poster_link"></p><p> <![CDATA[</p><p> /images/kadr/sm_(?<posterID>[\d]+)</p><p> ]]></p><p> </set></p><p></p><p> <!-- Action to retrieve backdrop from kinopoisk.ru --></p><p> <!-- We need to find the link to the posters page from the details page --></p><p> <if test="${movie.site_id}!="></p><p> <!-- Try to get backdrop page from movie's shots page --></p><p> <retrieve name="backdrop_page" url="http://www.kinopoisk.ru/level/13/film/${movie.site_id}" retries="10" timeout="10000" timeout_increment="4000"/></p><p> <parse name="posterLink" input="${backdrop_page}" regex="${rx_poster_link}"/></p><p> <!-- If link found, continue --></p><p> <if test="${posterLink[0][0]}!="></p><p> <!-- set name="posterPage" value="${posterLink[0][0]}" /--></p><p> <!-- retrieve name="cover_page" url="${posterPage}" allow_unsafe_header="true" /--></p><p> <!-- parse name="posterLinks" input="${cover_page}" regex="${rx_covers}"/--></p><p> <loop name='cover_url' on='posterLink'></p><p> <set name='backdrop[${count}].url' value='http://www.kinopoisk.ru/images/kadr/${cover_url[0]}.jpg'/></p><p> </loop></p><p> </if></p><p> </if> </p><p></action> [/CODE]</p><p></p><p>It's loaded. No errors during loading - it's good! But I can't check if it works or not, because there is no posibility to set up kinopoisk.xml as default backdrop loading engine into configuration page. there are only local media and themoviedb.org. I hope it will be fixed soon.</p></blockquote><p></p>
[QUOTE="mitiok2008, post: 478063, member: 88086"] I test it finally by myself. I put some code inside get_backdrop action node. [CODE]<action name="get_backdrop"> <set name="rx_poster_link"> <![CDATA[ /images/kadr/sm_(?<posterID>[\d]+) ]]> </set> <!-- Action to retrieve backdrop from kinopoisk.ru --> <!-- We need to find the link to the posters page from the details page --> <if test="${movie.site_id}!="> <!-- Try to get backdrop page from movie's shots page --> <retrieve name="backdrop_page" url="http://www.kinopoisk.ru/level/13/film/${movie.site_id}" retries="10" timeout="10000" timeout_increment="4000"/> <parse name="posterLink" input="${backdrop_page}" regex="${rx_poster_link}"/> <!-- If link found, continue --> <if test="${posterLink[0][0]}!="> <!-- set name="posterPage" value="${posterLink[0][0]}" /--> <!-- retrieve name="cover_page" url="${posterPage}" allow_unsafe_header="true" /--> <!-- parse name="posterLinks" input="${cover_page}" regex="${rx_covers}"/--> <loop name='cover_url' on='posterLink'> <set name='backdrop[${count}].url' value='http://www.kinopoisk.ru/images/kadr/${cover_url[0]}.jpg'/> </loop> </if> </if> </action> [/CODE] It's loaded. No errors during loading - it's good! But I can't check if it works or not, because there is no posibility to set up kinopoisk.xml as default backdrop loading engine into configuration page. there are only local media and themoviedb.org. I hope it will be fixed soon. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Scraper support of backdrop loading
Contact us
RSS
Top
Bottom