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.
Zoom Player plug-in
Zoom Player plug-in
Hi,
I've updated the Zoom Player plugin for v8 (see attachment below).
To install, you need close event ghost, replace the existing copy, usually residing in "c:\Program Files\EventGhost\plugins\ZoomPlayer\" and restart event ghost.
Please include in next EG release.
Cheers,
Yaron
I've updated the Zoom Player plugin for v8 (see attachment below).
To install, you need close event ghost, replace the existing copy, usually residing in "c:\Program Files\EventGhost\plugins\ZoomPlayer\" and restart event ghost.
Please include in next EG release.
Cheers,
Yaron
- Attachments
-
- ZoomPlayer.zip
- Event Ghost Zoom Player v8 plugin
- (15.51 KiB) Downloaded 685 times
Yaron Gur
Zoom Player . Lead Developer
Zoom Player . Lead Developer
Re: Zoom Player plug-in
I'm attaching the updated plugin that covers all versions of Zoom Player up to the upcoming v8.2.0 preview 1.
Sadly, the previous update was not included in a new release.
I had the same situation with the PS3 plugin being outdated...
Is anyone doing a once-over to update the plugins and release a new version?
Sadly, the previous update was not included in a new release.
I had the same situation with the PS3 plugin being outdated...
Is anyone doing a once-over to update the plugins and release a new version?
- Attachments
-
- zoomplayer820p1.zip
- (15.56 KiB) Downloaded 585 times
Yaron Gur
Zoom Player . Lead Developer
Zoom Player . Lead Developer
Re: Zoom Player plug-in
I noticed that Home and End have the same code:
I suppose, End should be 35.
Code: Select all
('KeyHome', 'Navigational Control Home', '36'),
('KeyEnd', 'Navigational Control End', '36'),
Re: Zoom Player plug-in
This update also fixes the issue igvk reported.
- Attachments
-
- zoomplayer870b5.zip
- Updated to v8.7 beta 5
- (15.79 KiB) Downloaded 555 times
Yaron Gur
Zoom Player . Lead Developer
Zoom Player . Lead Developer
-
eventspook
- Posts: 23
- Joined: Tue Mar 05, 2013 2:50 pm
Re: Zoom Player plug-in
Is it possible to tell ZoomPlayer to play a certain file? I see the 'Open' command, but I want to remotely start playing back a certain file.
Re: Zoom Player plug-in
Hi,
I use the raw command option to control my Squeezebox.
Is it possible to use eg variables like eg.event.payload or eg.gobals in the raw command?
I can not get it work.
DONE
Solution it is not possible with the standard Plugin - If you need it you have to modify this line in the code FROM self.session.sendall(cmdstr + "\r\n") TO self.session.sendall(eg.ParseString(cmdstr) + "\r\n")
I use the raw command option to control my Squeezebox.
Is it possible to use eg variables like eg.event.payload or eg.gobals in the raw command?
I can not get it work.
DONE
Solution it is not possible with the standard Plugin - If you need it you have to modify this line in the code FROM self.session.sendall(cmdstr + "\r\n") TO self.session.sendall(eg.ParseString(cmdstr) + "\r\n")
Re: Zoom Player plug-in
Attached is the updated Zoom Player version 11.1 event ghost plug-in.
- Attachments
-
- zoomplayer1100.zip
- (16.64 KiB) Downloaded 436 times
Yaron Gur
Zoom Player . Lead Developer
Zoom Player . Lead Developer
Re: Zoom Player plug-in
Hi guys!
Slight issue that I just cam up against:
I updated to new 0.5.0 rc3, and the 11.1 ZP plugin.
Everything still works ok, but Im getting this error now in the log:
C:\Program Files (x86)\EventGhost\plugins\ZoomPlayer\__init__.py:1185: DeprecationWarning: ZoomPlayerSession.sendall is deprecated. Use ZoomPlayerSession.socket.sendall instead.
self.session.sendall(cmdstr + "\r\n")
I think the string it refers to is this:
Any ideas why? Is it an EG, ZP, or ZPplugin issue?
Also the info dialog of the ZP plugin still shows as version 1.0. I checked the text of the 11.1 plugin _init__.py, and its still listed as 1.0
Is this correct?
Slight issue that I just cam up against:
I updated to new 0.5.0 rc3, and the 11.1 ZP plugin.
Everything still works ok, but Im getting this error now in the log:
C:\Program Files (x86)\EventGhost\plugins\ZoomPlayer\__init__.py:1185: DeprecationWarning: ZoomPlayerSession.sendall is deprecated. Use ZoomPlayerSession.socket.sendall instead.
self.session.sendall(cmdstr + "\r\n")
I think the string it refers to is this:
Code: Select all
@eg.LogIt
def DoCommand(self, cmdstr):
self.waitFlag.clear()
self.waitStr = cmdstr
if not self.isSessionRunning:
self.session = ZoomPlayerSession(self, (self.host, self.port))
self.isSessionRunning = True
try:
self.session.sendall(cmdstr + "\r\n")
except:
self.isSessionRunning = False
self.TriggerEvent('close')
self.session.close()
self.waitFlag.wait(1.0)
self.waitStr = None
self.waitFlag.set()Also the info dialog of the ZP plugin still shows as version 1.0. I checked the text of the 11.1 plugin _init__.py, and its still listed as 1.0
Is this correct?
Re: Zoom Player plug-in
Seems that in newest version of EG you need to replace it with self.session.socket.sendall, as suggested.
This, and self.socket.settimeout instead of self.settimeout.
Besides, StreamSelectNav was replaced with StreamSelectionNav in newer ZP versions.
Hope that the author will update this plugin and it will be updated in EG distribution, too.
And if the ZP author reads this, I would also like to see function of reading current volume in the plugin.
This, and self.socket.settimeout instead of self.settimeout.
Besides, StreamSelectNav was replaced with StreamSelectionNav in newer ZP versions.
Hope that the author will update this plugin and it will be updated in EG distribution, too.
And if the ZP author reads this, I would also like to see function of reading current volume in the plugin.
Re: Zoom Player plug-in
Lets hope the author updates it, cuz its a great plugin and I love it!
If not I'll try a manual edit as you suggested....
If not I'll try a manual edit as you suggested....
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Zoom Player plug-in
Ok this is the second plugin where we came across this. I am going to make a wrapper for it or change how the warnings are printed so you will only see it if degugging is turned on. I will force the depreaction warnings to come up only in the debugging log.
Re: Zoom Player plug-in
I'm not the author but i made the changes regarding socket. Please try the attached version.igvk wrote:Seems that in newest version of EG you need to replace it with self.session.socket.sendall, as suggested.
This, and self.socket.settimeout instead of self.settimeout.
Besides, StreamSelectNav was replaced with StreamSelectionNav in newer ZP versions.
Hope that the author will update this plugin and it will be updated in EG distribution, too.
And if the ZP author reads this, I would also like to see function of reading current volume in the plugin.
For reading the current volume, did you try the raw command? I don't have ZoomPlayer and can't test it, but from reading the code it seems 2300 is the command to send.
- Attachments
-
- ZoomPlayer_1_1.egplugin
- Plugin: ZoomPlayer
Version: 1.1 - (17.28 KiB) Downloaded 325 times
Last edited by topix on Tue Jul 11, 2017 10:47 pm, edited 1 time in total.
Re: Zoom Player plug-in
Yes, 2300 is the way to go.topix wrote:For reading the current volume, did you try the raw command? I don't have ZoomPlayer and can't test it, but from reading the code it seems 2300 is the command to send.
Besides that, you also need to trigger event with the value of the current volume to pass it to EG.
I had to make changes to the code of the plugin to implement volume adjustment (e.g., make volume 10 steps higher), but it would be better to do all this centrally.
The latest version of ZP plugin is also not in Git and not in the latest EG installer.
Re: Zoom Player plug-in
can you show me your code changes and how you generate the volume event?
I will include the new version in the next release.
I will include the new version in the next release.
