Find out what I watch/access derby DB [SOLVED]
Hey
I have an custom buildt tv episode system that use Serviio as DLNA server.
I want to register when I start watching a item via Serviio, and register that item in my own system as watched.
How to find out when I watch a item was no problem (sending the the debug log to the syslog port, and then make a script that listen to port 415 and parse the data)
My problem is too find out what I am watching.
Ex. I watch an episode, and I get in the log that I am watching MEDIA_ITEM 100, not the filename of the file.
I was thinking to connect to the derby database, but I have noe idea how to do it automatic. Any tips?
Running Debian Testing without GUI.
Thanks for any help.
PS.
Perhaps you guys have an better way of doing this, but I found sniffing the log to be the easiest.
I have an custom buildt tv episode system that use Serviio as DLNA server.
I want to register when I start watching a item via Serviio, and register that item in my own system as watched.
How to find out when I watch a item was no problem (sending the the debug log to the syslog port, and then make a script that listen to port 415 and parse the data)
My problem is too find out what I am watching.
Ex. I watch an episode, and I get in the log that I am watching MEDIA_ITEM 100, not the filename of the file.
I was thinking to connect to the derby database, but I have noe idea how to do it automatic. Any tips?
Running Debian Testing without GUI.
Thanks for any help.
PS.
Perhaps you guys have an better way of doing this, but I found sniffing the log to be the easiest.
Last edited by AlecTBM on Sun Mar 10, 2013 8:09 pm, edited 1 time in total.