AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Kodi is available for multiple operating-systems and hardware platforms, featuring a 10-foot user interface for use with televisions and remote controls.
Playercorefactory Xml For Windows Movie You WantThe wiki has some examples External players (wiki) and this thread is fairly extensive You should be able to set the script up in a way that will offer a choice of players from the context menu when the movie you want to play is in focus.Just out of curiosity why do yo want to use an external player anyway As a last note DSplayer offers Kodi functionality within the player, most others are using external player control.I just need to edit it so it runs a script just before it plays the video file. The link you provided is a bit too much with entries of 10 years of experiences in over 100 pages. So my playercorefactory.xml currently looks like this: Code: C:UsersMEAppDataRoamingKodiuserdatamyscript.bat. On the other hand, the.bat runs when I use it as a fake external player. The play using is calling up an executable with the path name of the video in-focus, in your case it looks like it worked with your.bat my script doesnt contain anything regarding PLAYING the video file you would have to include launching the player with the focus loaded in your.bat This discussionthread is getting beyond the point of a simple add-on script as per wiki and really should be relegated to the development area where there are users that can assist in either modifying a skin, or feature discussions. Not too much to say here, perhaps start from the last and travel the pages backward Theres a lot of information pertaining to this post in that thread, and to suggest the book is too thick is undervaluing the hard dedicated developer. I know you like to see your posting number go up, but dont use me. Por favor. Perhaps this is a step in the right direction: run python script before play. I did answer your question (wikis) and pointed at the development section, and some kind soul pointed out the specifics within, lets hope your travels in this forum are a bit more on target. You would need to open the video information to trigger the script. What it sounds like you want is to add a context menu item that will run the bat file, and then play the video. To create an add-on, you will need to know at least a little about XML, and some python. From there, you should work through the tutorials in the wiki. Theres a context menu item tutorial there, but it will make more sense if you read and try all of the tutorials. Also, most add-ons are on Github if you want to look into how others do things. But do I really have to create an add-on I just want to execute a little script just before the video starts to play. I wrote in the other thread that I just want to combine two actions into one. You can try to hack it into a skin file like what was mentioned above, but if the skin gets updated and that file changes, then whatever change you make will be lost. If you want to do something that is not built into Kodi, then you must create an add-on.
0 Comments
Read More
Leave a Reply. |