Batch re-read NFO files without losing watched etc.
#1
As with a number of other threads, I am frustrated that I can't easily get XBMC to re-scan all my movies/TVs for NFO updates other than either removing and adding the content, or hitting refresh one by one (just too onerous with thousands of library entries).

It would be great if there were some sort of recursive 're-read NFO' function that would grab any changed NFO info (e.g. movie sets etc.) - my various metadata tools (Ember, Sickbeard, Couch Potato and TVRename) all at various times update NFOs and it would be great to have this latest info reflected in XBMC without having add/remove, import/export etc., and while maintaining watched/playcount status as stored in the DB.

I am sure this is more complicated than it looks, but it would be very very handy.

(I am using XBMC as Openelec RC3 with MySQL DB synchronsing the metadate to two machines, and the media and thumbnails are stored/remote mounted on a Windows 7 server).
Sorry, no help w/out a *full debug log*
Reply
#2
+1 .. the only way ive found is to reload one by one
Reply
#3
absolutely +1!
Reply
#4
i too would love a feature like this
Reply
#5
would be great!!!
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
#6
+2
would really improve the quality of my life! Big Grin
Reply
#7
Me too! +5
ZOTAC IONITX-D-E Intel Atom N330 Dual Core 1.6 GHz NVIDIA ION with LIVE on SSD
Reply
#8
I'm sure there is already a method for doing this. Something like changing the content of your source to none and then back to Film (or whatever it is) and then saying yes to refresh info for all.
Reply
#9
Then you lose all your watched statusses.

(and you can't export the library as that overwrite the nfos)
Sorry, no help w/out a *full debug log*
Reply
#10
+1 from me as well

I am constantly tweaking my files so it is a PITA to one remember which shows i tweaked and then have to do each manually
WE ALL WE GOT
Reply
#11
bossanova808 Wrote:Then you lose all your watched statusses.

(and you can't export the library as that overwrite the nfos)

I'm sure if you press no when it asks you if you want to remove all items from the database and then press yes when you set the content again it keeps the watched statuses.

Can a developer weigh in here?
Reply
#12
As far as I can tell from the code if you:

1. Set content to None.
2. Choose YES to remove content from the library.
3. Set content to Movie.
4. Choose YES to Refresh for path.

It will keep playcount (** see NOTE 3). Reason is that it doesn't touch the files table which holds this info.

NOTES:

1. This will delete bookmarks by the looks (no reason this couldn't be changed, however).
2. The "cleaning" done in step do is DIFFERENT than the cleaning done by "Clean Library". Clean Library removes files that are no longer present on disk.
3. If you have the advanced setting enabled to import watched count and it's present in your nfo file and it's different than what is in your db, then obviously that will override whatever was left in the db.

Sure enough, just tested it and it works fine.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
Reply
#13
MySQL saves the states...I totally uninstalled and reinstalled from scratch and my play states were still there...
Reply
#14
MySQL does nothing of the sort. XBMC does it as stated above.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
Reply
#15
jmarshall Wrote:MySQL does nothing of the sort. XBMC does it as stated above.

Righto...dear knows how mine were saved then..full uninstall, all traces of XBMC removed from all locations and after reboot, full install and manual add of all libraries, my play states were intact...

edit - on a re-read the play states must be in my nfo files...
Reply
 
Thread Rating:
  • 3 Vote(s) - 3.67 Average



Logout Mark Read Team Forum Stats Members Help
Batch re-read NFO files without losing watched etc.3.673