Cloning "video-filemode" and adding/using custom <sources> (possible?) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Cloning "video-filemode" and adding/using custom <sources> (possible?) (/showthread.php?tid=52722) |
Cloning "video-filemode" and adding/using custom <sources> (possible?) - Malmanian - 2009-06-12 Greetings! I wonder if it is possible to re-direct a duplicated menu section in my home-screen (example: video-file mode) to use a custom file-sources/path that I have defined in the sources.xml. *(see example below) I really need this for my personal homevideos, and karaoke-videos etc. (I've already duplicated the VIDEO menu on my home-screen, but the copy still uses the "<video></video>" in sources.xml as its path (is it possible to redirect it to a different custom source; <homevids> instead of <videos>?). I am depended on my folder-structure and I modify/delete/rename the folders regularly on daily bases and that is why I cannot use the library mode for this purpose and want to have multiple sections of "VIDEOS" with different/custom sources in each. I would appreciate any help. Cheers >> souces.xml : * example: <homevids> <default pathversion="1"></default> <source> <name>Temp</name> <path pathversion="1">C:\Temp\</path> </source> </homevids> - jmarshall - 2009-06-12 No, but you can simply make a bunch of sources, and then make a bunch of buttons that activate the normal videofiles window with the source as a parameter, thus making you go direct to the source you are after. - Malmanian - 2009-06-12 Thanks for the reply. Unfortunately I use the "VIDEOS" section for my movie genres so that when I enter "VIDEOS" it only shows "Action, Asian, Drama etc.." that is why I didn't wanted to add more sources to the default videos section since I use it for my main movies only and wanted to create duplicated copies "KARAOKE" "HOME-VIDEOS" etc. with custom sources. Perhaps I could use the " <programs> </programs> in sources.xml and add a video path there instead and rename the "SCRIPTS/PROGRAM" menu to "HOME-VIDEOS", but I'm not sure if it is possible to run videos that way. Since I use external video player as default it might be possible. Perhaps I should test it first before I comment because this idea might sound ridicules =). Cheers - jmarshall - 2009-06-12 You can have two or more buttons pointing to the same window (in this case videofiles) but just ask it to go to a different path in that window. - Malmanian - 2009-06-12 Thanks, I just tested that, the method you mentioned works great as a workaround. I added "<onclick>ActivateWindow(MyVideoFiles, HomeVideos)</onclick>" to Home.xml and linked it to a un-used home-button. The down side is that all the newly added sources still end up in my main "VIDEOS" list (which is my "genre list") since I cannot link to a directory that is not added to the XBMC-video-source. Cheers and thanks for the support. |