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
Fanart Handler
Mixed artist pictures
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="horned_reaper" data-source="post: 1270818" data-attributes="member: 109929"><p>Thanks for explaining!</p><p></p><p>How to avoid database inconsistencies like this?</p><p><img src="https://forum.team-mediaportal.com/attachments/1585595059433-png.204780/" alt="1585595059433.png" class="fr-fic fr-dii fr-draggable " style="" /></p><p>Two records point to the same file name.</p><p>If the user deletes one of the two records via the FH config GUI, the file gets deleted and the second entry remains. Then, if FH wants to open this Fanart the file is missing.</p><p></p><p>Can you add a check if the full path of a new file already exists in the database to this function?</p><p>[DatabaseManager]: Importing fanart into FanartHandler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\filename.jpg).</p></blockquote><p></p>
[QUOTE="horned_reaper, post: 1270818, member: 109929"] Thanks for explaining! How to avoid database inconsistencies like this? [IMG alt="1585595059433.png"]https://forum.team-mediaportal.com/attachments/1585595059433-png.204780/[/IMG] Two records point to the same file name. If the user deletes one of the two records via the FH config GUI, the file gets deleted and the second entry remains. Then, if FH wants to open this Fanart the file is missing. Can you add a check if the full path of a new file already exists in the database to this function? [DatabaseManager]: Importing fanart into FanartHandler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\filename.jpg). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Fanart Handler
Mixed artist pictures
Contact us
RSS
Top
Bottom