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
IMDb+
Feature RQ: use folder name for imdb lookup & [tags]
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="RoChess" data-source="post: 1153168" data-attributes="member: 18896"><p>I thought I had already added support for that, but seems I did it in reverse.</p><p> </p><p>So when MovPic is configured to prefer foldernames then I force a look at the filename.</p><p> </p><p>Weird though, because I would have thought with that options enabled, that MovPic would at least accept the IMDb tt-ID. Or do you have that setting to prefer foldernames disabled?</p><p> </p><p>What it means for IMDb+ is that I just have to add another block to look at the foldername if all else fails to locate IMDb tt-ID. The problem is that the project still runs from Google Code, which has been disabled to read-only now. No idea when I will have time to move project over to Github, setup a new IMDb+ development environment, adjust the IMDb+ plugin to read from the new location, and then release a new MPEI update, and fix the scraper-script.</p><p> </p><p>I could however edit the scraper-script locally quick to test my theory, make the changes, and provide you with a manual scraper-script to install that does what you want, but will have to see about that next weekend then.</p><p> </p><p>However, for the [3D] stuff that should work, however I only have access to read folder/filename inside the search-node, which means it only works on a fresh import (or re-import, or delete+import), and not when you update/refresh.</p><p> </p><p>[code]<iftest="${special_edition[0][0]}="></p><p> <!-- Filename came up empty; lets try foldername before giving up --></p><p> <parsename="special_edition"input="${search.foldername}"regex="${rx_special_editions}"/></p><p> <iftest="${special_edition[0][0]}!="></p><p> <setname="movie[0].details_url"value="###${special_edition}###"/> </p><p> </if></p><p></if>[/code]</p><p> </p><p>Unless ${search.foldername} comes up empty for you during that process, would need to see a proper debug log to view that when you do an import on your system for a single movie.</p></blockquote><p></p>
[QUOTE="RoChess, post: 1153168, member: 18896"] I thought I had already added support for that, but seems I did it in reverse. So when MovPic is configured to prefer foldernames then I force a look at the filename. Weird though, because I would have thought with that options enabled, that MovPic would at least accept the IMDb tt-ID. Or do you have that setting to prefer foldernames disabled? What it means for IMDb+ is that I just have to add another block to look at the foldername if all else fails to locate IMDb tt-ID. The problem is that the project still runs from Google Code, which has been disabled to read-only now. No idea when I will have time to move project over to Github, setup a new IMDb+ development environment, adjust the IMDb+ plugin to read from the new location, and then release a new MPEI update, and fix the scraper-script. I could however edit the scraper-script locally quick to test my theory, make the changes, and provide you with a manual scraper-script to install that does what you want, but will have to see about that next weekend then. However, for the [3D] stuff that should work, however I only have access to read folder/filename inside the search-node, which means it only works on a fresh import (or re-import, or delete+import), and not when you update/refresh. [code]<iftest="${special_edition[0][0]}="> <!-- Filename came up empty; lets try foldername before giving up --> <parsename="special_edition"input="${search.foldername}"regex="${rx_special_editions}"/> <iftest="${special_edition[0][0]}!="> <setname="movie[0].details_url"value="###${special_edition}###"/> </if> </if>[/code] Unless ${search.foldername} comes up empty for you during that process, would need to see a proper debug log to view that when you do an import on your system for a single movie. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
IMDb+
Feature RQ: use folder name for imdb lookup & [tags]
Contact us
RSS
Top
Bottom