Trying something with my Androids
Posted: Wed Mar 12, 2014 5:56 am
Hi there.
I am trying something with UMS that's perhaps a little different. I use it to stream to my WDTV Live Streaming box or PS3. Works great
But what I am trying to do is create notifications on my Android devices with the currently streaming media. I use Tasker and a series of plugins, as well as EventGhost on my PC. This allows me to create custom notifications, use variables and such then I can display whatever I want on my Androids.
I currently have EventGhost sending the debug.log to my Samsung Note 2 every 30 seconds. From that file, I want to extract info on the currently playing media. Ideally, I would like to display it as seen on the status tab in the very lower left corner.
Serving Bates Motel - 202
From there, I could set the notifications to allow for click, which could say do a search on one of the various sites like IMDB or one that tracks tv shows. I could then do whatever I want with that data received back like display the episode or cast info etc.
The Android end of things isn't the problem. What I am having an issue with is trying to find a realtime file that I can extract the info from. The debug.log doesn't seem to change. I can see the file on my Note 2 but no change in the text within it, even though I may start or stop several shows or movies.
I can see the Logs tab updating, and the lower left caption updating on the UMS gui whenever I start or stop a movie or show, but the debug.log file itself seems to be unchanged on my Note 2 even though its sent every 30 seconds.
The last entry is always (with the exception of the timestamp) :
INFO 2013-12-15 15:05:40.218 {PMS Listeners Stopper} at net pms$4.run(PMS.java.557)
I have tried changing the level of the debug.log, but it only seems to affect the Logs tab in the GUI, not the debug.log file itself.
I have tried monitorng the UMS directory for changes in files, sending the debug.log every so many seconds etc. Monitoring the directory for changes seems to yield nothing and the file doesn't change on phone, and it doesn't seem to change when I open it on my PC.
I am just unsure of what other options I have. Am I looking in the wrong place maybe ? Is there another source I could extract that data from maybe ? Forgive me if I am missing something covered, or glaringly obvious, Ive just run out of ideas on how I might accomplish this.
I am trying something with UMS that's perhaps a little different. I use it to stream to my WDTV Live Streaming box or PS3. Works great

But what I am trying to do is create notifications on my Android devices with the currently streaming media. I use Tasker and a series of plugins, as well as EventGhost on my PC. This allows me to create custom notifications, use variables and such then I can display whatever I want on my Androids.
I currently have EventGhost sending the debug.log to my Samsung Note 2 every 30 seconds. From that file, I want to extract info on the currently playing media. Ideally, I would like to display it as seen on the status tab in the very lower left corner.
Serving Bates Motel - 202
From there, I could set the notifications to allow for click, which could say do a search on one of the various sites like IMDB or one that tracks tv shows. I could then do whatever I want with that data received back like display the episode or cast info etc.
The Android end of things isn't the problem. What I am having an issue with is trying to find a realtime file that I can extract the info from. The debug.log doesn't seem to change. I can see the file on my Note 2 but no change in the text within it, even though I may start or stop several shows or movies.
I can see the Logs tab updating, and the lower left caption updating on the UMS gui whenever I start or stop a movie or show, but the debug.log file itself seems to be unchanged on my Note 2 even though its sent every 30 seconds.
The last entry is always (with the exception of the timestamp) :
INFO 2013-12-15 15:05:40.218 {PMS Listeners Stopper} at net pms$4.run(PMS.java.557)
I have tried changing the level of the debug.log, but it only seems to affect the Logs tab in the GUI, not the debug.log file itself.
I have tried monitorng the UMS directory for changes in files, sending the debug.log every so many seconds etc. Monitoring the directory for changes seems to yield nothing and the file doesn't change on phone, and it doesn't seem to change when I open it on my PC.
I am just unsure of what other options I have. Am I looking in the wrong place maybe ? Is there another source I could extract that data from maybe ? Forgive me if I am missing something covered, or glaringly obvious, Ive just run out of ideas on how I might accomplish this.