could you use a timer to request the info instead?kingtd wrote:For pulling information, the webserver piece is pretty good. Where I struggle is automatic updates of media status. Normally it feeds a constant string of track time updates into eventghost, but sometimes it just stops. In those cases, it's hard to programmatically tell if it's still playing and broken, or just paused. =)
~K
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Vista Media Center Controller
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Vista Media Center Controller
Re: Vista Media Center Controller
Here is a fix for the BadRequest errors. Hardly rocket science, just needed a str around the data being passed in one place. Also, after this I have no problems issuing the send commands via EG locally.
- Attachments
-
- __init__.py
- (11.08 KiB) Downloaded 179 times
