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
Can't import from MyMovies any more...
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: 896621" data-attributes="member: 18896"><p>${filename} is a var name, it is 'set' to a value via the following line:</p><p> </p><p><set name="filename" value="${search.basepath}\${search.filename_noext}" /></p><p> </p><p>What it does there is create ${filename} and make it "${search.basepath}\${search.filename_noext}", which MovPic corresponds to "X:\Folder\Movie\filename" depending on the ${search.xxxxxxx} values passed on to the scraper-script on the new media match found.</p><p></p><p>After that this value is then used via:</p><p> </p><p><retrieve name="file" file="<u><strong>${filename}</strong></u>.nfo" encoding="UTF-8" /></p><p> </p><p>To actually read/open the file and make the contents available via ${file}.</p><p>More info on how scraper-scripts work is available at: <strong><a href="http://moving-pictures.tv/wiki/Scraper_Scripts" target="_blank">http://moving-pictures.tv/wiki/Scraper_Scripts</a></strong></p><p> </p><p>If you can provide me with a scraper-debug enabled log file, so I can see what ${search.basepath} matches for your system and what folder location you have actually placed the NFO file at, then I can be of more assistance. Until I got my new workstation up and running I can not recreate your situation on here to test, so you will have to provide the super-detailed log files containing the info I need.</p><p> </p><p>Or happy coding if you decide to solve it yourself.</p></blockquote><p></p>
[QUOTE="RoChess, post: 896621, member: 18896"] ${filename} is a var name, it is 'set' to a value via the following line: <set name="filename" value="${search.basepath}\${search.filename_noext}" /> What it does there is create ${filename} and make it "${search.basepath}\${search.filename_noext}", which MovPic corresponds to "X:\Folder\Movie\filename" depending on the ${search.xxxxxxx} values passed on to the scraper-script on the new media match found. After that this value is then used via: <retrieve name="file" file="[U][B]${filename}[/B][/U].nfo" encoding="UTF-8" /> To actually read/open the file and make the contents available via ${file}. More info on how scraper-scripts work is available at: [B][url]http://moving-pictures.tv/wiki/Scraper_Scripts[/url][/B] If you can provide me with a scraper-debug enabled log file, so I can see what ${search.basepath} matches for your system and what folder location you have actually placed the NFO file at, then I can be of more assistance. Until I got my new workstation up and running I can not recreate your situation on here to test, so you will have to provide the super-detailed log files containing the info I need. Or happy coding if you decide to solve it yourself. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Can't import from MyMovies any more...
Contact us
RSS
Top
Bottom