XBMC Community Forum
Shortcut to view as files (unsorted sports) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+--- Thread: Shortcut to view as files (unsorted sports) (/showthread.php?tid=131329)



Shortcut to view as files (unsorted sports) - splatz - 2012-05-11 21:28

I use SABnzbd to automatically download a bunch of soccer games and dump them all into a single directory. I have this directory listed as a source "Sports", but no videos ever show up. (Since there is no sports scraper that I know of). In order to view the videos, I have to access it through Videos -> Video Files -> Sports, and then it works fine. This is a lot of button clicks though. What I would love is to be able to add a shortcut to the main menu to "Sports" in Files-mode. Is this possible?

What would be even better is if videos like this (which could also include Home Videos) could have it's own "recently added" category. I am trying to switch to XBMC from Media Browser, and MB handled the concept of "custom categories" like sports or home videos flawlessly. I'm hoping to find equivalent functionality here.


RE: Shortcut to view as files (unsorted sports) - Chris! - 2012-05-11 23:15

What skin are you using?

The custom menu item is easy to do

I'm not sure the recently added is so easy though


RE: Shortcut to view as files (unsorted sports) - splatz - 2012-05-11 23:36

I'm currently using Convergence, but I wouldn't mind switching if I can get the functionality I want. To clarify, I have already made a custom menu item to "Sports", however it displays it in Library mode. Since it is in Library mode, no videos are listed.


RE: Shortcut to view as files (unsorted sports) - Mudislander - 2012-05-12 00:02

Try making a playlist with the rule "source" = "Your Directory Sports" and add that to the main menu. If you haven't found the "Create Playlist" option of XBMC yet just shout out.

Edit Sorry, not thinking - they would need to be in your library, otherwise wont work.


RE: Shortcut to view as files (unsorted sports) - splatz - 2012-05-12 01:06

Is there a way to add these files to the library then? Some sort of fake scraper that just takes the filename and declares that as the episode or something. This would also accomplish my "one click" sports feature.


RE: Shortcut to view as files (unsorted sports) - Chris! - 2012-05-12 10:17

I achieve going to the right folder by setting a folder (in my case random youtube videos I like) as a favourite - then adding that favourite as a menu item. Is this what you've done?

You could add them to the library using nfo's but that's a bit long winded.


RE: Shortcut to view as files (unsorted sports) - jhsrennie - 2012-05-13 16:01

The function:

Code:
ActivateWindow(video, /whatever/sports)

will open a file listing of the directory /whatever/sports. You can map this to a keystroke, or manually edit your custom menu item.


RE: Shortcut to view as files (unsorted sports) - splatz - 2012-05-13 20:27

Thanks for the tips, I got it to work. It wasn't working in files mode because I had the "Sports" folder listed as a source. When I deleted the source, then this code worked exactly as I want by opening it in files mode directly from the shortcut:

Code:
ActivateWindow(10025,"E:\\Sports\\")