doc:appunti:software:kodi_external_player
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:appunti:software:kodi_external_player [2023/05/06 05:42] – niccolo | doc:appunti:software:kodi_external_player [2023/06/05 08:50] – [Identify a ListItem as video] niccolo | ||
---|---|---|---|
Line 7: | Line 7: | ||
< | < | ||
<player name=" | <player name=" | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 15: | Line 15: | ||
</ | </ | ||
<rules action=" | <rules action=" | ||
- | <rule filetypes=" | + | <rule filetypes=" |
</ | </ | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | Into the **kodi.log** you can read that the player was actually created, but you have to enable the DEBUG logging (Settings => System => Logging => Enable debug logging), otherwise the WARNING message is rather misleading: | ||
< | < | ||
WARNING < | WARNING < | ||
+ | DEBUG < | ||
</ | </ | ||
+ | |||
+ | Once the external player is loaded, you can select a video and open the context menu; under the **Play using...** item you will find your external player. Notice that the //Play using...// context menu is available only into the standard video interface, it does not appear e.g. from the //Movie// => //Recently added movies// interface. | ||
+ | |||
+ | The external player can be any executable (even a shell script), the process will receive the arguments defined by the **%%< | ||
+ | |||
+ | < | ||
+ | KODI_BIN_HOME='/ | ||
+ | KODI_HOME='/ | ||
+ | LIRC_SOCKET_PATH='/ | ||
+ | </ | ||
+ | |||
+ | ===== Use the external player as default ===== | ||
+ | |||
+ | With the appropriate values into the **%%< | ||
+ | |||
+ | **WARNING**: | ||
+ | |||
+ | ===== Identify a ListItem as video ===== | ||
+ | |||
+ | When writing a custom video plugin add-on, I tried to apply a **video external player** to files that are actually playlists of images, i.e. text files with an '' | ||
doc/appunti/software/kodi_external_player.txt · Last modified: 2023/06/05 09:20 by niccolo