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.
Screamer Radio
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Screamer Radio
This is a bug (non - ASCII filepath). Thank you for the report.
Please download the corrected version.
Pako
Please download the corrected version.
Pako
Re: Screamer Radio
Hi
It still seems that some thing is wrong.
I downloaded the new version but eventghost complained on the path to the langue file so I changed it in the XML to "C:\Screamer\Screamer Radio\languages\......." insted of only "languages\.." Now I can start screamer från EG but when I execute the command for play I get a new error
It still seems that some thing is wrong.
I downloaded the new version but eventghost complained on the path to the langue file so I changed it in the XML to "C:\Screamer\Screamer Radio\languages\......." insted of only "languages\.." Now I can start screamer från EG but when I execute the command for play I get a new error
Code: Select all
Fel i åtgärd: "Screamer Radio: Play"
Traceback (most recent call last) (1462):
File "C:\Program\EventGhost\eg\Classes\ActionBase.py", line 168, in CallWrapper
File "C:\Program\EventGhost\plugins\ScreamerRadio\__init__.py", line 484, in __call__
File "C:\Program\EventGhost\eg\Classes\WindowMatcher.py", line 192, in FindMatch
File "C:\Program\EventGhost\eg\Classes\WindowMatcher.py", line 167, in Find
OverflowError: long int too large to convert to int- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Screamer Radio
That's odd.
Please try several times, including a new startup ScreamerRadio.
Error occurs every time you try?
Please attach your file "screamer.xml".
Pako
Please try several times, including a new startup ScreamerRadio.
Error occurs every time you try?
Please attach your file "screamer.xml".
Pako
Re: Screamer Radio
I have tried this many times, with restarts of EG and screamer but I get the same error.
Have tried to install screamer to a new path but I get same error
Have tried to install screamer to a new path but I get same error
- Attachments
-
- screamer.zip
- (1.29 KiB) Downloaded 283 times
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Screamer Radio
So it will probably be difficult.
According to XML, it seems that you have ScreamerRadio installed in C:\Screamer\Screamer Radio.
I installed the SR into the same folder and I used your xml file.
Then I started SR and tested the plugin. It works without problems.
Only when I will able to induce your problem on my computer, then I'll hopefully be able to fix the "bug" (really just a plugin causing the problem?).
What is your operating system?
Do you have a chance to try it on another computer?
Have you tried the program Radio?Sure! ?
Pako
According to XML, it seems that you have ScreamerRadio installed in C:\Screamer\Screamer Radio.
I installed the SR into the same folder and I used your xml file.
Then I started SR and tested the plugin. It works without problems.
Only when I will able to induce your problem on my computer, then I'll hopefully be able to fix the "bug" (really just a plugin causing the problem?).
What is your operating system?
Do you have a chance to try it on another computer?
Have you tried the program Radio?Sure! ?
Pako
Re: Screamer Radio
Hello, I would like to display an picture of the radio broadcasting, when changing favorite, I'd also change the picture, I tried but without success, can you retrieve the name of the radio in an event "eventghost " via Start_SR_Event? cordially
Re: Screamer Radio
Hello, I admit I am not very experienced here yet, can You please explain how exactly to do this:
" It is therefore very easy using the "Show OSD" to display the name of the song or station played. " ?
Thank You in advance!
" It is therefore very easy using the "Show OSD" to display the name of the song or station played. " ?
Thank You in advance!
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Screamer Radio
Here is an example:
Re: Screamer Radio
Thanks for help (i must say, I already figured that out myself). I wonder is there some way to have OSD activated every time song changes on radio? Screamer is doing something that with taskbar pop-up baloon.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Screamer Radio
It is possible, of course.Juris wrote:I wonder is there some way to have OSD activated every time song changes on radio?
But it is necessary to use polling, because ScreamerRadio does not provide events.
Here's one possible solution:Content Start polling script:
Code: Select all
period = 2
eg.globals.SRadioTitle = None
def polling():
title = eg.plugins.ScreamerRadio.GetPlayingTitle()
if title != eg.globals.SRadioTitle:
eg.globals.SRadioTitle = title
if title != 'Screamer Radio v0.4.4':
eg.TriggerEvent("Title", prefix="ScreamerRadio", payload=title)
eg.globals.SRadioPolling = eg.scheduler.AddTask(period, polling)
polling()Code: Select all
if "SRadioPolling" in eg.globals.__dict__:
try:
eg.scheduler.CancelTask(eg.globals.SRadioPolling)
except:
passor together with the launch ScreamerRadio.
Pako
Re: Screamer Radio
Thank You, Pako, for very good informative answers! Much appreciated.