google-code-export / mediaplayer2-for-sh4

Automatically exported from code.google.com/p/mediaplayer2-for-sh4
1 stars 0 forks source link

pause button #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
pliz fix the pause/play button on the dreambox controller it seems pause it 
doesn't work.

Original issue reported on code.google.com by zorros.o...@gmail.com on 10 Aug 2014 at 9:23

GoogleCodeExporter commented 9 years ago
Hi, what reciever, image, subsupport, mp2 or emc version do you use?

Original comment by mx3Lm...@gmail.com on 14 Aug 2014 at 8:02

GoogleCodeExporter commented 9 years ago
Issue 48 has been merged into this issue.

Original comment by mx3Lm...@gmail.com on 30 Aug 2014 at 7:58

GoogleCodeExporter commented 9 years ago
Issue 47 has been merged into this issue.

Original comment by mx3Lm...@gmail.com on 30 Aug 2014 at 7:58

GoogleCodeExporter commented 9 years ago
please test 0.56 version

Original comment by mx3Lm...@gmail.com on 4 Sep 2014 at 7:43

GoogleCodeExporter commented 9 years ago
I switched from OpenPLI to OpenSPA on vusolo2 today. No problems with 
pause/unpause on OpenPLI. Under OpenSPA pressing pause pauses the playback but 
cannot unpause. I have to press green button to resume playback. If any extra 
information is needed I can provide it.

Original comment by mno...@gmail.com on 12 Sep 2014 at 8:38

GoogleCodeExporter commented 9 years ago
Bump:

I tested original media player from the image: pause button also desn't resume 
playback but play button does it correctly.

Original comment by mno...@gmail.com on 15 Sep 2014 at 1:38

GoogleCodeExporter commented 9 years ago

Original comment by mx3Lm...@gmail.com on 16 Sep 2014 at 9:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
When you pause video by pause button and then you try to unpause again by pause 
button, global action defined in enigma2 settings will be called.

So go to Setup->System->Record->Behavior of 'pause and ok' when paused -> set 
it to play. Then pause button will work as unpause too.

Play button is not mapped in keymap.xml in mp2 folder, therefore it's not 
working, will add it

Original comment by mx3Lm...@gmail.com on 18 Sep 2014 at 8:07

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I checked this setting and it is already set to play. I even changed the 
behavior to single step or last speed but no luck. As is have already wrote I 
use openatv. Maybe something is broken? But why original media player reacts 
correctly?

Original comment by mno...@gmail.com on 21 Sep 2014 at 1:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Bump: 
I set <key id="KEY_PLAY" mapto="play" flags="m" /> in keymap and it works as 
expected. 

I tried <key id="KEY_PAUSE" mapto="playpause" flags="m" /> and no reaction at 
all. Maybe mediaplayer could react for playpause event?

Maybe there is some problem with global keymap in 
/usr/share/enigma2/keymap.xml? You will find this file in attachement.

Original comment by mno...@gmail.com on 21 Sep 2014 at 1:38

Attachments:

GoogleCodeExporter commented 9 years ago
"I checked this setting and it is already set to play. I even changed the 
behavior to single step or last speed but no luck. As is have already wrote I 
use openatv. Maybe something is broken? But why original media player reacts 
correctly?"

This means that openATV changed functionality of InfoBarSeek class which 
handles seeking actions in MP/MP2. Original MP acts correctly because it's 
probably fixed to this change that openATV introduced.

"I tried <key id="KEY_PAUSE" mapto="playpause" flags="m" /> and no reaction at 
all. Maybe mediaplayer could react for playpause event?"

playpause action doens't exist in InfoBarSeek class, but playpauseService does. 
Try:
<key id="KEY_PAUSE" mapto="playpauseService" flags="m" />

Original comment by mx3Lm...@gmail.com on 21 Sep 2014 at 9:16

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
playpauseService doesn't resume the playback (I put it just in place of 
original pause button line in keymap).

I wrote on Sep 15 that original player doesn't react on pressing pause on 
paused button and this is true. So original MP acts the same way as your 
player, only play button resumes the playback. With <key id="KEY_PLAY" 
mapto="play" flags="m" /> in keymap.xml MP2 works the same way as original one: 
pause button playback and play button resumes playback. 

If it is unclear how to handle OpenATV functionality You could just add play 
button to keymap for future releases.

Original comment by mno...@gmail.com on 22 Sep 2014 at 5:58

GoogleCodeExporter commented 9 years ago
"playpauseService doesn't resume the playback (I put it just in place of 
original pause button line in keymap)."

aah sorry, forgot to mention that you have to define it MediaPlayer2SeekActions

<map context="MediaPlayer2SeekActions">
        <device name="dreambox advanced remote control (native)">
            <key id="KEY_PREVIOUSSONG" mapto="seekBack" flags="b" />
            <key id="KEY_NEXTSONG" mapto="seekFwd" flags="b" />
            <key id="KEY_PREVIOUSSONG" mapto="seekBackManual" flags="l" />
            <key id="KEY_NEXTSONG" mapto="seekFwdManual" flags="l" />
        </device>
        <device name="dreambox remote control (native)">
            <key id="KEY_RED" mapto="seekBack" flags="b" />
            <key id="KEY_BLUE" mapto="seekFwd" flags="b" />
            <key id="KEY_RED" mapto="seekBackManual" flags="l" />
            <key id="KEY_BLUE" mapto="seekFwdManual" flags="l" />
        </device>
                <key id="KEY_PAUSE" mapto="playpauseService" flags="m" />
        <key id="KEY_REWIND" mapto="seekBack" flags="b" />
        <key id="KEY_FASTFORWARD" mapto="seekFwd" flags="b" />
        <key id="KEY_REWIND" mapto="seekBackManual" flags="l" />
        <key id="KEY_FASTFORWARD" mapto="seekFwdManual" flags="l" />

        <key id="KEY_1" mapto="seekdef:1" flags="m" />
        <key id="KEY_3" mapto="seekdef:3" flags="m" />
        <key id="KEY_4" mapto="seekdef:4" flags="m" />
        <key id="KEY_6" mapto="seekdef:6" flags="m" />
        <key id="KEY_7" mapto="seekdef:7" flags="m" />
        <key id="KEY_9" mapto="seekdef:9" flags="m" />
    </map>

"If it is unclear how to handle OpenATV functionality You could just add play 
button to keymap for future releases"

It looks like InfoBarSeek isn't consistent across images, I will use my own, 
that will fix the problem.

Play button will be add to keymap
Thanks for feedback.

Original comment by mx3Lm...@gmail.com on 22 Sep 2014 at 7:53

GoogleCodeExporter commented 9 years ago
"playpauseService" under MediaPlayer2SeekActions doesn't resume playback too.

Original comment by mno...@gmail.com on 22 Sep 2014 at 3:23

GoogleCodeExporter commented 9 years ago
should be fixed in 0.57+ version

Original comment by mx3Lm...@gmail.com on 6 Mar 2015 at 4:20