Jump to content

Is there an "info" log entry for concurrent streams?


Recommended Posts

pir8radio
Posted

Is there any kind of log entry that increments with every new stream started or ended?

 

like a new stream starts and a line is added to the log:

 

{TIME} INFO: concurrent streams now 7

 

a stream stops:

 

{TIME} INFO: concurrent streams now 6

 

 

I would like to track it but dont know a better way...   I can count ffmpeg instances running but thats not accurate.

 

 

 

rechigo
Posted (edited)

No, but a plugin could be written to do this for you...

-----------edit---------

 

Here, logging freak.

 

Logs in format: {TIME} Info ConcurrentStreamLogger: Session Count: {stream_count} (I know it says session count, trust me, it's only counting streams)

 

(This took 5 minutes and I needed a break from what I was working on lol)

Emby.ConcurrentStreamLogger.zip

Edited by rechigo
  • Like 1
pir8radio
Posted

No, but a plugin could be written to do this for you...

 

-----------edit---------

 

Here, logging freak.

 

Logs in format: {TIME} Info ConcurrentStreamLogger: Session Count: {stream_count} (I know it says session count, trust me, it's only counting streams)

 

(This took 5 minutes and I needed a break from what I was working on lol)

 

lol sweet, I really have to get the stuff on my windows laptop to mess around with making plugins... Sweet I'll try it out thanks!!!

Posted

The playback reporting plugin has a concurrent play session count in its resources chart.

pir8radio
Posted

No, but a plugin could be written to do this for you...

 

-----------edit---------

 

Here, logging freak.

 

Logs in format: {TIME} Info ConcurrentStreamLogger: Session Count: {stream_count} (I know it says session count, trust me, it's only counting streams)

 

(This took 5 minutes and I needed a break from what I was working on lol)

 

 

Thanks again for this quick plugin!!   I'm starting to see it in my logs, now i just need to build some graphs!!!  thanks again!

5e93af9685b2a_sessioncount.png

pir8radio
Posted

5e93ba825b696_streams.png

  • 3 years later...
Posted

Sorry to necro this, any chance this works on 4.7? 

Also, how did you add a bar graph for the data? 

Posted
5 minutes ago, bruor said:

Sorry to necro this, any chance this works on 4.7? 

HI, what exactly are you asking?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...