Posts: 3
Joined: Jun 2014
Reputation:
0
As a long term user i'm happy XBMC is now available on (almost) any platform.
So i can watch music and video's on all my devices anywhere.
This is a good thing.
The watched status leaves something to be desired. It (probably for UPNP players) is now placed in the database. so i have to import and export the xml for every apparatus with XBMC and for everything i watched.
This is a tedious matter..
Sharing the same database for all devices (if possible) would be a security issue when i'm not at home.
I do not use UPNP, too many av formats are not supported and there is no room for subtitles.
An option to store watched data with the movie as i do with my subtitles would be very nice.
Posts: 31,445
Joined: Jan 2011
2014-06-16, 12:55
(This post was last modified: 2014-06-16, 23:19 by Ned Scott.)
I'm not sure where you are getting some of your info. UPnP supports all formats that XBMC can playback, and it supports subtitles. UPnP is not something that is tied to any specific format, codec, file container, etc. However, it cannot be used outside of the local network, so it still wouldn't be of much use to you.
Watched status has always been stored in the database.
There's several add-ons that allow syncing of watched status over those services' websites. I'd suggest looking at those:
Syncing and sharing (wiki)
EDIT: meant to say local network, rather than local library.
Posts: 3
Joined: Jun 2014
Reputation:
0
Yep,
but the video support for (espacially) brand devices is crappy, as are external subs.
this is the reason why i use XBMC!
Ill have a look at the sync options you mentioned later, as this could save me time.
Posts: 3
Joined: Jun 2014
Reputation:
0
Checked them all;
most promising was the script, wich does not run... due to dependancy faillures.
external services are tv based, wich is useless in europe.
shared database not really an option for my smartphone...
Watched status in the database seems to me to be a design flaw, (the filesystem is usually the best database)
So there is no working fix exept deleting everything i watched.
Posts: 6,254
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,254
how do you store the watched flag on a readonly filesystem? (like when you watched some video from an addon) Also, how would you know of watched flags for offlline media, like DVD/Bluray or when your NAS is in sleep mode while you're browsing your library?
Posts: 10,660
Joined: Oct 2011
Reputation:
657
jjd-uk
Team-Kodi Member
Posts: 10,660
You could try doing an library export on a device when you've watched something, then do an update on your other connected devices, as I think watched status is exported to nfo files which will be placed along side your media when choosing export to separate files. However sharing database information via UPnP or MySQL would be far preferable to this.
Posts: 1,071
Joined: Mar 2013
Reputation:
50
I am so trying this out when I get home, thanks for the info Memphiz...
Posts: 1,071
Joined: Mar 2013
Reputation:
50
Ok, so I added <importwatchedstate>true</importwatchedstate> under the <videolibrary> section to my advancedsettings.xml file, and restarted XBMC. File was copied to C:\Users\[username]\AppData\Roaming\XBMC\userdata.
In MediaElch, I changed a movie (in this case 2001: a space odyssey) that wasn't flagged in XBMC as being watched (and the NFO had <watched>false</watched>), and I clicked Watched in MediaElch, and saved. The NFO for 2001: a space odyssey now has <watched>true</watched>.
1. I then did an Update Library in XBMC, no change to the Watched status in XBMC (still listed as unwatched).
2. I then did a Clean Library, followed by an Update Library in XBMC, still no change to the Watched status.
3. I then clicked 'i' on my remote, and then clicked Reload, and clicked 'No' to refresh from the internet (so it used locally stored information), this also did not change the Watched status in XBMC.
Now for TV shows, there is no Watched button in MediaElch, but there is <playcount>0</playcount> and <lastplayed></lastplayed> that shows up under each NFO for each episode in a season, but I am not sure if this is the same function as Watched status for Movies or not.
In case you are wondering, I am running XBMC Gotham 13.1, on Windows 7 x64, with AMD 6800 graphics card, and 8gigs of ram, 128gig SSD boot drive.
Posts: 19,982
Joined: May 2009
Reputation:
452
nickr
Retired Team-Kodi Member
Posts: 19,982
Use MySQL and save yourself all this pain.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 1,071
Joined: Mar 2013
Reputation:
50
Thanks again Memphiz, I will test this out and report back.
As for using MySQL, as much as I've read about implementing it, I've also read the XBMC Developers are moving away from that model and going with UPnP, so I would prefer to follow their lead.
Besides, my testing could fix the MediaElch Media manager software, making it work better with XBMC, and in the process making XBMC easier to use and maintain, so more of a Win\Win, than just throwing in the towel and using something else.
Posts: 1,071
Joined: Mar 2013
Reputation:
50
Well, that didn't work either, as it turns out, the NFO already had the playcount set to 1. Here is first half of the nfo file...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<movie>
<title>2001: A Space Odyssey</title>
<originaltitle>2001: A Space Odyssey</originaltitle>
<rating>7</rating>
<votes>569</votes>
<top250>110</top250>
<year>1968</year>
<plot>Mankind finds a mysterious, obviously artificial, artifact buried on the moon and, with the intelligent computer HAL, sets off on a quest.</plot>
<outline>Mankind finds a mysterious, obviously artificial, artifact buried on the moon and, with the intelligent computer HAL, sets off on a quest.</outline>
<tagline>An epic drama of adventure and exploration</tagline>
<runtime>161</runtime>
<mpaa>G</mpaa>
<credits>Stanley Kubrick, Arthur C. Clarke</credits>
<director>Stanley Kubrick</director>
<playcount>1</playcount>
<lastplayed>2014-06-18 20:06:16</lastplayed>
<id>tt0062622</id>
<tmdbid>62</tmdbid>
<set>The Space Odyssey Series</set>
<sorttitle>2001 A Space Odyssey 01</sorttitle>
<trailer>http://www.youtube.com/watch?v=E8TABIFAN4o</trailer>
<watched>true</watched>
<studio>MGM / Stanley Kubrick Productions</studio>
<genre>Science Fiction</genre>
Just in case, I Cleaned the Library again, and Updated the Library, and restarted XBMC, still the same results.