Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Cloning "video-filemode" and adding/using custom <sources> (possible?)
#1
Star 
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>
Reply
#2
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.
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
#3
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
Reply
#4
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.
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
#5
Star 
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.
Reply

Logout Mark Read Team Forum Stats Members Help
Cloning "video-filemode" and adding/using custom <sources> (possible?)0