xnappo 1593 Posted April 19, 2014 Share Posted April 19, 2014 After watching a few episodes of the same show, I've come up with a new suggestion/request: In the skin support thread it is mentioned that the recent/next/random items are refreshed "about every 3 minutes". In itself that's fine, but could they also be refreshed when the homescreen is loaded? Or is this something that can already be done from the skin anyway? When I finish watching episode S01E01 of a show and return to the home screen I would like it to update right away to display S01E02 as next episode. Waiting three minutes for a refresh kind of defeats the purpose of the "next up" shelf in that case. Already on the issues list: https://github.com/MediaBrowser/MediaBrowser.XBMC/issues?state=open xnappo 1 Link to comment Share on other sites More sharing options...
tube82 73 Posted April 19, 2014 Author Share Posted April 19, 2014 Already on the issues list: https://github.com/MediaBrowser/MediaBrowser.XBMC/issues?state=open xnappo Oh, now I feel a little stupid. Glad to see it's on the list! What about manually marking items "watched"? Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 19, 2014 Share Posted April 19, 2014 (edited) re: marking watched - That should definitely work. You are using the context menu to do that right? 'w' on the keyboard will NOT work - that is XBMC database ONLY. Edited April 19, 2014 by xnappo 1 Link to comment Share on other sites More sharing options...
tube82 73 Posted April 19, 2014 Author Share Posted April 19, 2014 re: marking watched - That should definitely work. You are using the context menu to do that right? 'w' on the keyboard will NOT work - that is XBMC database ONLY. I was using "w". Good to know! Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 19, 2014 Share Posted April 19, 2014 The search function doesn't have a whole lot of filtering capability in it - so I am going to have to do it on the client side. For those who have looked at the code - right now I squeezed the parsing into the 'processDirectory' function, but I think a new function is really needed. @ - I will take a look at that at least for new code. I think there are some places where it will have to be intentionally stripped off. xnappo Link to comment Share on other sites More sharing options...
smitopher 19 Posted April 19, 2014 Share Posted April 19, 2014 Is there an option to play content from the "Specials" folder of a movie? Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 20, 2014 Share Posted April 20, 2014 Changes to the Git: - Update NextUp on playback stop - Add checks that the service is still running xnappo 1 Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 20, 2014 Share Posted April 20, 2014 (edited) Back on the subject of search. I can implement the categories in a few different ways. I would like inputs. I could add nodes for: Search All Search Movies Search Series Search Albums Search Artists Or, I can bring up a dialog before the keyboard with the same list as above. Thoughts? xnappo Edited April 20, 2014 by xnappo Link to comment Share on other sites More sharing options...
Beardyname 194 Posted April 20, 2014 Share Posted April 20, 2014 Back on the subject of search. I can implement the categories in a few different ways. I would like inputs. I could add nodes for: Search All Search Movies Search Series Search Albums Search Artists Or, I can bring up a dialog before the keyboard with the same list as above. Thoughts? xnappo The later one, Search --> choose where --> "insert text here" seems more logical to me at least Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 20, 2014 Share Posted April 20, 2014 I actually don't know that it is needed. I cleaned it up, and at least for my stuff it is working pretty well. The results are already returned in a logical priority, and I added the result type before the name. Give it a try. Before anyone asks - most metadata is not returned with search queries - we could theoretically do additional queries to get it, but it aint going to be high on my to-do list. xnappo 1 Link to comment Share on other sites More sharing options...
tube82 73 Posted April 20, 2014 Author Share Posted April 20, 2014 I agree that the result type in front of the results is enough. Currently it doesn't work correctly for me, though. The type doesn't show for movies and episodes in my search results. In front of movies and episodes ":" is shown. In front of music it is correctly "Audio:" Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 20, 2014 Share Posted April 20, 2014 That is weird. You definitely have the latest Git? See below: Link to comment Share on other sites More sharing options...
tube82 73 Posted April 20, 2014 Author Share Posted April 20, 2014 This is what the same query returns for me: https://drive.google.com/file/d/0B-iJnwQCTVZ4LWxCdURfazdYWWM/edit?usp=sharing 1 Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 20, 2014 Share Posted April 20, 2014 Can you please: 1. Get your User ID from here (Id column): http://<yourip>:8096/mediabrowser/Users 2. Browse to here: http://<yourip>:8096/mediabrowser/Search/Hints?SearchTerm=night&UserId=<userid> Then look to see if the 'Display Media Type' column is populated for your movies? Thanks, xnappo Link to comment Share on other sites More sharing options...
tube82 73 Posted April 20, 2014 Author Share Posted April 20, 2014 Can you please: 1. Get your User ID from here (Id column): http://<yourip>:8096/mediabrowser/Users 2. Browse to here: http://<yourip>:8096/mediabrowser/Search/Hints?SearchTerm=night&UserId=<userid> Then look to see if the 'Display Media Type' column is populated for your movies? Thanks, xnappo Just did, for anything but audio the column is not populated. 1 Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 20, 2014 Share Posted April 20, 2014 (edited) @@Luke - any ideas on that? ^^ DisplayMediaType not populated in SearchHint results. Thanks, xnappo Edited April 20, 2014 by xnappo Link to comment Share on other sites More sharing options...
Luke 37009 Posted April 20, 2014 Share Posted April 20, 2014 No but I really wouldn't use the field anyway. Its name is misleading and not really indicitave of its function. Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 20, 2014 Share Posted April 20, 2014 Err - it is very useful for what I am using it for. You suggest I look up every Id manually? In general - why are the results from the search query so vastly different from other queries - would be a lot easier if search returned a list of normal Items - is that a reasonable feature request? Thanks, xnappo Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 20, 2014 Share Posted April 20, 2014 (edited) Just did, for anything but audio the column is not populated. Thanks. Now please try: 1. http://<yourip>:8096/mediabrowser/Search/Hints?SearchTerm=night&UserId=<userid> Choose a movie, and copy the ItemId. 2. http://<yourip>:8096/mediabrowser/Users/<userid>/items/<ItemId> See if 'Type' is Movie. Thanks, xnappo Edited April 20, 2014 by xnappo Link to comment Share on other sites More sharing options...
tube82 73 Posted April 20, 2014 Author Share Posted April 20, 2014 Thanks. Now please try: 1. http://<yourip>:8096/mediabrowser/Search/Hints?SearchTerm=night&UserId=<userid> Choose a movie, and copy the ItemId. 2. http://<yourip>:8096/mediabrowser/Users/<userid>/items/<ItemId> See if 'Type' is Movie. Thanks, xnappo Did it with an episode but yes, the type is episode. 1 Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 21, 2014 Share Posted April 21, 2014 Ok - I changed the code to manually look up each item. It is slower, but there is a lot more data. xnappo 1 Link to comment Share on other sites More sharing options...
tube82 73 Posted April 21, 2014 Author Share Posted April 21, 2014 (edited) It works now! The decrease in speed is definitely noticable, though. When I look at the result of this query: http://<yourip>:8096/mediabrowser/Search/Hints?SearchTerm=night&UserId=<userid> there also is the 'Type' column. Couldn't you just use that instead? [edit] One more thing: The results of the query are not sorted by type (e.g. first all movies, then all episodes etc). Should they be grouped by type? Edited April 21, 2014 by tube82 1 Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 21, 2014 Share Posted April 21, 2014 Err - yes Okay - switched to using 'Type'. The order is the order MB3 thinks matches best... I wish the MB3 search interface was just the same as a normal query but with an optional search term, but that isn't the case so it is a bit limited. xnappo 1 Link to comment Share on other sites More sharing options...
tube82 73 Posted April 21, 2014 Author Share Posted April 21, 2014 Works great now. Fast and showing all types correctly! A better order would be nice, but if it's just what MB3 gives you it'll do 1 Link to comment Share on other sites More sharing options...
xnappo 1593 Posted April 21, 2014 Share Posted April 21, 2014 Thanks again for your ultra-fast alpha testing. You are spoiling me. We will improve this over time - but I think I am closing it out for now and will work towards an official repo release now. xnappo 1 Link to comment Share on other sites More sharing options...
Recommended Posts