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.

PotPlayer

Questions and comments specific to a particular plugin should go here.
Post Reply
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

PotPlayer

Post by Pako »

I needed to play a file that was in 3D HSBS format.
My favorite player (MPC-HC) unfortunately failed.
I therefore had the file (it was more than 10 GB) to convert.
It took a very long time. And so I was looking for another player that can convert online 3D to 2D.
Next time (in the same situation), it would then not be necessary laboriously convert before playing.
I found out that PotPlayer can do it.
But there was not a plugin that suits my needs.
And so I wrote a new one. That suits me completely, because it has all the features that I previously used with MPC-HC.
I'm trying it for some time now and it seems that I leave permanently MPC-HC (before I thought it would be only for some files) and go to PotPlayer.
I'll see over time.

Pako
Attachments
__init__.py
Plugin PotPlayer - version 0.3
(79.92 KiB) Downloaded 568 times
__init__.py
Plugin PotPlayer - version 0.2
(79.84 KiB) Downloaded 282 times
__init__.py
Plugin PotPlayer - version 0.0
(79.45 KiB) Downloaded 297 times
You know flattr ? You can Image
Tryanderror
Posts: 10
Joined: Wed Jun 08, 2011 8:48 pm

Re: PotPlayer

Post by Tryanderror »

Thanks for sharing your PotPlayer plugin. IÔÇÖm controlling PotPlayer now for more than 2 years with an X10 remote and EventGhost, based on keystroke emulation. With the large set of commands your plugin offers I will be able to enhance the remote-functionality even more.

Best wishes
Tryanderror
mxk
Posts: 1
Joined: Sat Dec 14, 2013 7:41 pm

Re: PotPlayer

Post by mxk »

Hi. I registered here just to thank you for this plugin. With this fix from EvilMF my PotPlayer works now great. Also I think I found a bug in "Jump (to)" controls. On "Speed normal" some menu pop ups, "Speed up +" is actually speed down and "Speed down -" is speed normal. Could you check it?
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PotPlayer

Post by Pako »

mxk wrote:Hi. I registered here just to thank you for this plugin.
Thank you, it makes me happy. It is unfortunately very rare approach.
mxk wrote:Also I think I found a bug in "Jump (to)" controls. On "Speed normal" some menu pop ups, "Speed up +" is actually speed down and "Speed down -" is speed normal. Could you check it?
Thanks for the warning. Yes, it was a bug. I do not use these commands, so I not encountered it.
You can download the patched version (0.3).

Pako
You know flattr ? You can Image
igvk
Experienced User
Posts: 60
Joined: Wed Jan 09, 2013 7:22 pm

Re: PotPlayer

Post by igvk »

Great that this plugin exists, Pako! Thank you very much.

But I have some bug reports. When I try to use such commands as "Show PotPlayer menu", I see the following error:

Code: Select all

Error in Action: "PotPlayer: Show PotPlayer menu"
Traceback (most recent call last) (1691):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
    return self(*args)
    TypeError: __call__() takes at least 3 arguments (1 given)
Besides, is it possible to add such commands as "Prev/Next Bookmark/Chapter"?
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PotPlayer

Post by Pako »

igvk wrote:But I have some bug reports. When I try to use such commands as "Show PotPlayer menu", I see the following error:
I think that this is not a bug, but the cause is on your side.
You must first configure the action and only then can you use it.
igvk wrote:Besides, is it possible to add such commands as "Prev/Next Bookmark/Chapter"?
I do not know about such functions.
However - check out the action User command (and read the description).
If you miss some action, you can create it exactly using the action User command (if such item exists in PotPlayer menu).

Pako
You know flattr ? You can Image
igvk
Experienced User
Posts: 60
Joined: Wed Jan 09, 2013 7:22 pm

Re: PotPlayer

Post by igvk »

Pako wrote: I think that this is not a bug, but the cause is on your side.
You must first configure the action and only then can you use it.
Ok, my fault.
I've configured the action, but it gave me the error at first.

Code: Select all

         PotPlayer: Show PotPlayer menu
            Please report: 0, True, None, None
            Traceback (most recent call last) (1691):
              File "wx\_core.pyc", line 14669, in <lambda>
              File "C:\Program Files (x86)\EventGhost\plugins\PotPlyaer\__init__.py", line 975, in ShowMenu
                self.UpdateMenu(ix == 0, ix)
              File "C:\Program Files (x86)\EventGhost\plugins\PotPlyaer\__init__.py", line 997, in UpdateMenu
                self.DrawMenu(ix)
              File "C:\Program Files (x86)\EventGhost\plugins\PotPlyaer\__init__.py", line 861, in DrawMenu
                width = max(width_lst)+8
            ValueError: max() arg is an empty sequence
I've restarted EventGhost, and now I see the menu.
Pako wrote: I do not know about such functions.
These functions are in Playback->Chapter/Bookmark menu
Pako wrote: However - check out the action User command (and read the description).
If you miss some action, you can create it exactly using the action User command (if such item exists in PotPlayer menu).
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PotPlayer

Post by Pako »

igvk wrote:These functions are in Playback->Chapter/Bookmark menu
I see, there is no such item ...
I use PotPlayer very rarely and this function has no meaning for me.
I understand that I must do some bookmarks and then I'll have a corresponding menu item...
So I did it for you and I received the following values:
BookmarkMenuIDs.png
BookmarkMenuIDs.png (5.58 KiB) Viewed 9592 times
So now you can create the desired action itself.
Pako
You know flattr ? You can Image
igvk
Experienced User
Posts: 60
Joined: Wed Jan 09, 2013 7:22 pm

Re: PotPlayer

Post by igvk »

Ok, I have created the actions with User command.
There is another possibility to see these items - when you watch DVD or BluRay with chapters.
Now I'm trying to figure out whether there is a command to close navigational windows (I know they can be closed with Escape key).
skribb
Experienced User
Posts: 228
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: PotPlayer

Post by skribb »

Is there a way to add a "discrete pause" function (i.e pause if playing otherwise do nothing)? Or does it need to be an existing function within Potplayer?

Otherwise would it be possible to detect the playing status of Potplayer, and then pause accordingly (i.e if status "palying" is detected)?


thanks
Automation is life.

Win7 64bit
EG: v0.5.0-rc4
Lavender
Posts: 1
Joined: Sat Sep 19, 2015 7:59 am

Re: PotPlayer

Post by Lavender »

Is there a way to add a "discrete pause" function (i.e pause if playing otherwise do nothing)? Or does it need to be an existing function within Potplayer?
skribb, it seems that PotPlayer does not offer this feature at the moment. Please add your vote to https://potplayer.daum.net/forum/viewto ... ?f=9&t=182.
skribb
Experienced User
Posts: 228
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: PotPlayer

Post by skribb »

Ok thanks
Automation is life.

Win7 64bit
EG: v0.5.0-rc4
skribb
Experienced User
Posts: 228
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: PotPlayer

Post by skribb »

Hi, the "fullscreen" action doesn't seem to fire in PotPlayer.
Automation is life.

Win7 64bit
EG: v0.5.0-rc4
skribb
Experienced User
Posts: 228
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: PotPlayer

Post by skribb »

Is it possible to detect changes in Potplayer such as when the play state changes to paused, stopped, or starts playing a new video? :D

Like the Winamp plugin does. Winamp.PlayingTrack.Changed etc


thanks!
Automation is life.

Win7 64bit
EG: v0.5.0-rc4
stisev
Experienced User
Posts: 162
Joined: Tue Jun 26, 2007 2:55 am

Re: PotPlayer

Post by stisev »

Pako,
I am posting here to let you know I moved to Potplayer and REALLY REALLY REAAAAAAAALLY appreciate this plugin.

I can't believe it's not included with Eventghost by default!!


If it matters, I am getting the following error (but I think the plugin still works)

Code: Select all

00:08:12   00:08:12: 66 MainThread: AddActionDialog.Configure(parent=<eg.Classes.MainFrame.MainFrame; proxy of <Swig Object of type 'wxFrame *' at 0x51d0370> >)
00:09:09   00:09:09: 66 MainThread: AddActionDialog.Configure => None
00:09:15   00:09:15: 69 MainThread: AddActionDialog.Configure(parent=<eg.Classes.MainFrame.MainFrame; proxy of <Swig Object of type 'wxFrame *' at 0x51d0370> >)
00:09:34   00:09:34: 69 MainThread: AddActionDialog.Configure => None
00:09:37   00:09:37: 71 MainThread: AddActionDialog.Configure(parent=<eg.Classes.MainFrame.MainFrame; proxy of <Swig Object of type 'wxFrame *' at 0x51d0370> >)
00:09:38   00:09:38: 71 MainThread: AddActionDialog.Configure => None
00:09:48   00:09:48: 76 MainThread: AddActionDialog.Configure(parent=<eg.Classes.MainFrame.MainFrame; proxy of <Swig Object of type 'wxFrame *' at 0x51d0370> >)
00:10:05   00:10:05: 76 MainThread: AddActionDialog.Configure => None
00:10:14   00:10:14: 78 MainThread: AddActionDialog.Configure(parent=<eg.Classes.MainFrame.MainFrame; proxy of <Swig Object of type 'wxFrame *' at 0x51d0370> >)
00:10:22   00:10:22: 78 MainThread: AddActionDialog.Configure => None
Post Reply