Proposed changes to Watched status (video library)
#16
Did you read the thread?

I'm REMOVING said ability as it already exists and is IMO a horrible user interface.
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
Reply
#17
Sorry, I guess I've been too trigger happy on the 'Post Quick Reply' button today. I browsed this thread and saw some mention of what I wanted ("An InfoBool, perhaps ListItem.Watched() ") so I missed the real meaning of the first port.

I've been working on setting up the TV Library and got all gung ho about getting it to work right Big Grin
Reply
#18
Would it be possible to maintain watched/unwatched status for videos that aren't scanned into the database?

I usually just use the file system to access my movies and tv series, and ~never use the library mode.
Reply
#19
No. That has been covered before. They need the library to keep track of those kinds of things.

One question though...why the heck wouldn't you use the library? You say you want to keep track of watched and unwatched so it sounds like you aren't deleting the shows after you watch them. The library is one of the greatest things about XBMC. I would guess if you try it you would be hooked. (Just my personal opinion)

J_K_M_A_N
Reply
#20
J_K_M_A_N Wrote:No. That has been covered before. They need the library to keep track of those kinds of things.
That's a shame Sad

Quote:One question though...why the heck wouldn't you use the library? You say you want to keep track of watched and unwatched so it sounds like you aren't deleting the shows after you watch them. The library is one of the greatest things about XBMC. I would guess if you try it you would be hooked. (Just my personal opinion)

Well, the times I've tried using it, I've been disappointed:
- The scanning process has mistaken the first double episode of a serie as a single episode -- and visa versa on another serie.
- The process is really too slow for me.

I'm sure the library is great, but I still prefer plain file system. It's fast and it's hassle free. Except for the watched/unwatched issue, that is. Tongue
Reply
#21
monti Wrote:That's a shame Sad



Well, the times I've tried using it, I've been disappointed:
- The scanning process has mistaken the first double episode of a serie as a single episode -- and visa versa on another serie.

Probably because thats the way the episode(s) actually are as far as production went. This doesn't affect your files in any way though.
[/quote]
Quote:- The process is really too slow for me.

spiff made a lot of enhancements very recently that sped up library scraping about 300%
Reply
#22
agathorn Wrote:Probably because thats the way the episode(s) actually are as far as production went. This doesn't affect your files in any way though.
Well, in both cases the whole season of episodes ended up with the wrong episode numbers and details. Fairly annoying, especially since the episodes had clean and easily readable/parseable file names and numbers to begin with.
Quote:spiff made a lot of enhancements very recently that sped up library scraping about 300%
That's good to hear!
Reply
#23
Referring back to the original post, although I've read the thread:

Quote:This is unlikely to be fully implemented for a while yet, so here is your opportunity to comment on the pros and cons of both the current system, and the proposed improvements. Any and all comments will be taken on board.

For me, completely removing the watched/unwatched button and the functionality to hide watched items at all levels would be a major setback and make the library useless. To show you why, I'm going to explain how I use the library at the moment and why the watched/unwatched button is essential for me.

My library currently holds 1881 movies. This said you can imagine that some parts of the library are unusable here. Title view e.g. takes 2:40 Min until it is loaded. If you then press Info for one of the movies in the list, and go back to the list, you have to wait 2:40 Min again. Scrolling the list to see a movie starting with the letter "T" will take some minutes, too. So the titleview is hardly usable (as is actors, this takes ages to load, last time I tried it, I turned the box off after 8 minutes waiting).

However, I can use Year or Genre as these are much smaller lists. Year isn't a problem at all, Genre is more difficult, BUT lists get a lot smaller as soon as the watched/unwatched button comes into play. Many of my Genre-Lists get reduced from 180 to 34 objects when I switch to unwatched only which speeds up things a lot.

When I am alone, I usually have the button set to "unwatched" when I'm deciding what to watch that evening. I then go to the Genres and pick a Genre I feel like watching. I also often use the year as I'm collecting movies but often don't want to watch old b/w stuff or silent movies on a Saturday evening (or I might want to watch exactly that).

When I have guests, I switch to "watched", ask my guests what kind of movies they like and switch to Genres accordingly. Even if I could use the title-view, this is a lot better because it reduces the number of possible movies. When "watched" is set, I can comment on any movies my guests might want more information about. All other movies will not come up in any list and I never have to tell them I don't know anything about them.

I noticed that most of the people who commented before referred to TV Shows. I don't use the database for the few TV Shows I have, so this might be useful for that (although I don't really understand why you need watched/unwatched for this, I usually start with episode 1 and after that I watch episode 2...).

If I understood correctly what you intend to to, I would have to create tons of smartplaylists, staring with "Action/Watched", "Action/Unwatched, "Adventure/Watched" .... then going on to "1922/Watched", "1922/Unwatched" until I finally come to "2007/Unwatched".

Hope you can understand why for people with large collections the proposed change would make the whole library virtually unusable. Isn't there any possibility to preserve the current functionality and add new possibilities anyway? Also, a setting for the "Watched/Unwatched-Button" could be added to AdvancedSettings and switching it off by default to prevent new users from thinking they deleted an entry by watching it.

ForgotMyUsername
Reply
#24
ForgotMyUsername Wrote:I noticed that most of the people who commented before referred to TV Shows. I don't use the database for the few TV Shows I have, so this might be useful for that (although I don't really understand why you need watched/unwatched for this, I usually start with episode 1 and after that I watch episode 2...).
If you watch an episode or two per week, and the tv serie season has 22 episodes, it's fairly difficult to keep track of what you watched the last time. Was it episode 7? or 9? The watched/unwatched status is great for keeping track of this.
Reply
#25
Some comments:

1. First off, thanks for your comments. I'm after beta testers for this very feature, and you sound like an ideal candidate - can you run XBMC_PC on a win32 box?

2. If titles is taking 2:40 then IMO that is too damn long. I shall see if I can speed it up a bit - music songs with over 4k items only takes a few seconds, albeit the amount of information it's retrieving is less. Do you happen to be using profiles, as that slows things down a fair bit? A Debug Log will tell you the actual times taken for the various portions (query, retrieval, formatting).

3. The plan is to eventually allow the entire structure of the library to be XML-ized. I've already done smartplaylists for episodes, shows, musicvids and movies, so that takes care of the "title" level views. I have not yet decided how to do the other entries.

4. Further on 3, it may well be possible to have the genre et. al. options filterable by watched status (as it is at the moment) - they would be separate categories though "Watched Genres / Unwatched Genres". I'm not sure whether the watched status (overlay) will be available at these levels or not - it does complicate the queries somewhat.

5. It may be smarter to offer a more general filtering mechanism that is applied after folder retrieval. This gives essentially the watched/unwatched button but generalizes it to allow you to filter out whatever you like (eg filter by rating as well as watched status for instance). I'm not sure how well it would work from a UI perspective though, and I suspect it may overly complicate things. Perhaps the allowed filters could be XML-ized and available via a dropdown list to allow them to be edited for advanced users.

Please consider the beta testing. I have had no responses to it as of yet.

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
Reply
#26
Great, it really sounds as if there is a chance to improve things. Really was afraid that functionality might be lost after so many years of steady improvement.

1. I have already read your post concerning beta testers. The problem is that I cannot compile, and I've never tried XBMC_PC (except for some minor changes to the skin). So I think I wouldn't really be of any use. I've been using XBMP/XBMC since 2002, but only use it on my local boxes in the living-room, bedroom and guests' room. The only thing I can do is to test the latest t3ch-builds, but I'm afraid that has nothing to do with helping you, really. Anyhow, as soon as I might find some spare time, I'll try to dig into compiling/XBMC_PC deeper. Perhaps I then might be able to contribute.

2. First of all, I don't use any profiles, never even tried it. The problem with loading title-view is not that it takes so long, but that xbmc has to reformat the whole list after you return from the info-window. That is what slows things down so much and makes it unusable. There seems to be no sort of "cached" view, that is accessed but xbmc seems to rebuild the list from scratch, every time it is accessed. This can also be noted if I switch from watched to unwatched etc. It just takes ages. I'm going to do a Debug Log for titles/actors/studios etc. tomorrow or tonight (I just returned from watching a movie with a friend and the projector needs to cool down before I switch it on again).

4. This sounds like a good idea to preserve current functionality. With Genres this should be easy to implement. It might also be a good idea to have smartplaylists with playlists like "Movies ABC" "Movies DEF" "Movies GHI" etc. I've already structured my files on File-Level according to this scheme as it reduces scrolling times and entries in the listview to an acceptable degree. You've seen my db lately, so I hope you know what I'm talking about because it's a bit difficult to explain the principle. For me this was the easiest way to organize the amount of data collected over the years. As the general tendency seems to be that there are more and more collections like mine, I think it's worth thinking about how to handle large amounts of db-content in acceptable time.
Preserving the possibility to browse watched/unwatched movies by year seems to be harder to implement (and I really love to "watch a movie from 2007 tonight"). Have you already found a solution for that already? Of course you could do playslists for each year starting from 1900. For my collection this would be nice as there will be entries from 1922-2007, but I think there are many users out there who appreciate that only years appear in the list which you actually have movies from. So the smartplaylists with zero entries should not be shown. Is this possible?

5. This sounds like a fantastic future for the database, but I think this really is something that might be interesting in the remote future. The Actors-view also is a great idea, but I think nobody uses it except for testing-purposes as it's just too slow. If it's possible to implement this with acceptable speed I would be glad to filter all movies with a rating below 7.0 on some evenings :-)

If there is anything else than contributing ideas and thoughts, please let me know.

ForgotMyUsername
Reply
#27
Here's the log (boot, go to library, get title list, get info for a movie, return to title list, get info for another one, get directors list, get actors [crashed]).. things seem to have sped up a bit since I last tried it, but it's still a pain...

http://pastebin.com/m4313b2d3
Reply
#28
Thanks for the log - it helps pinpoint some timings:

1.4 seconds to do titles query
28 seconds (this is the first bit to focus on reducing) to retrieve information from the db -> fileitem.

Interestingly, there's also as least 10 seconds to retreive the cached list, which I'm certain can be reduced significantly.

Actors failed due to out of memory - I need to redo this to fetch in chunks, as this is one list that's gonna be very large.

BTW: For beta testing this new stuff, you don't necessarily need to be able to compile. All you need is time to test using XBMC_PC.

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
Reply
#29
Fantastic, sounds like there might really be hope for a noticeable speedup.

Tried XBMC_PC in the meantime and after some problems I got it to work. I can access my library and everything seems to be fine, but I cannot get access to any smb: shares (no matter if I use name or ip or set a default user in the network settings). Although it's not really enlightening, here's a log http://pastebin.com/m5ea90d09

Perhaps you could tell me what exactly XBMC_PC must be able to do so that I can help you (I might be a bit stubborn but I don't really understand what sense it makes as of course on this machine, sorting/accessing lists ist really fast, but I hope you're going to tell me).

ForgotMyUsername
Reply
#30
ForgotMyUsername: Do you have the xbmc_pc build from the t3ch package, or from the sourceforge page here (being the sdl version) ? I have the sdl version working with smb shares here, so maybe that is the better option. If so, try these steps:

1. extract the t3ch build
2. install http://sourceforge.net/project/showfiles...p_id=52340 - the runtime setup.exe
3. Download: https://sourceforge.net/project/showfile...p_id=67586 - the win32 zip file, and extract the glew32.dll from the bin folder in the zip to the xbmc dir.
4. Get the latest win32 sdl build: http://downloads.sourceforge.net/xbmc/XB...g_mirror=0
and extract the .exe to your xbmc dir.

Folder structure looks like this:

Code:
20.04.2008  01:08    <DIR>          .
20.04.2008  01:08    <DIR>          ..
20.04.2008  01:08                 0 bla.txt
20.04.2008  00:07    <DIR>          cache
20.04.2008  00:02    <DIR>          credits
06.04.2008  15:35         7.761.920 default.xbe
27.12.2007  22:10           212.992 glew32.dll
20.04.2008  00:02    <DIR>          language
20.04.2008  00:02    <DIR>          media
20.04.2008  00:07    <DIR>          plugins
20.04.2008  00:02    <DIR>          screensavers
20.04.2008  00:02    <DIR>          scripts
20.04.2008  00:02    <DIR>          skin
20.04.2008  00:03    <DIR>          sounds
20.04.2008  01:03    <DIR>          system
20.04.2008  00:12    <DIR>          UserData
20.04.2008  00:04    <DIR>          visualisations
20.04.2008  00:04    <DIR>          web
07.04.2008  22:58         9.003.008 XBMC.exe
20.04.2008  01:01                 0 xbmc.log
20.04.2008  00:29           339.602 xbmc.old.log

Then add a network share, the browsing of the workgroup doesn't work for me, but what works is to add the smb share manually by just entering the ip address.
Reply

Logout Mark Read Team Forum Stats Members Help
Proposed changes to Watched status (video library)0