anxdpanic / plugin.video.composite_for_plex

Composite allows media and metadata stored in the Plex Media Server (PMS) to be viewed and played using the Kodi 16+ interface
https://composite.page.link/forum
GNU General Public License v2.0
43 stars 11 forks source link

let os see, if composite is started or ended inside kodi #253

Closed ingenerd closed 2 years ago

ingenerd commented 2 years ago

What Problem Does This Solve?

On a Raspberry Pi with LibreElec, Kodi serves as an excellent media center, that can easily be plugged in a television. Amongst others, I have the official plex addon for videos and this composite addon for music installed inside Kodi. The system runs outside my home network and I have implemented a bash script inside the OS LibreElec, which is started on boot and which checks every couple seconds, if the plex addon is running. If so, a port forwarding to my homeserver is established and plex works fine. I would like to implement the local port forwarding also when the connect addon is used. Unfortunately, I do not find a good way to detect, if the composite addon is running. For plex this was easy. When plex exits, a log entry in the kodi.log file is placed with the string "REALLY FINISHED".


Suggest a Solution (optional)

The composite addon does not indicate something similar to the plex addon in the log file. Is it possible to have a log-file entry, when the addon starts and finishes? That would be great and in my case of big help. Thanks for your time and this great software.


ingenerd commented 2 years ago

The kodi.log already tells by greping for Composite with a capital "C".. never mind. Delete all of this, if you can;-)