Jump to content


sek1973

Member Since 30 Jul 2011
Offline Last Active 06 Feb 2018 06:17
-----

Posts I've Made

In Topic: Movie Player modifications

26 March 2012 - 14:05

Is there everything ok with git repo:
git://openpli.git.sourceforge.net/gitroot/openpli/enigma2
I'm trying to sync (pull) or clone and getting an error... :(
openpli.git.sourceforge.net[0: 216.34.181.91]: errno=No error
fatal: unable to connect a socket (No error)

git did not exit cleanly (exit code 128)
Regards.

In Topic: Movie Player modifications

26 March 2012 - 14:00

Sek, the "<" and ">" touches about you speak, are they left and right arrows or the touches which are on the left and on the right the "0" touch we have on the ET9000 remote?

Yes, exactly. They are also called ZAP history keys. You can use them to go to last watched channels.
Regards.

In Topic: Movie Player modifications

26 March 2012 - 11:02

For movies would be better: ">" - play under selector , next ">" - STOP

That is the Play key function. When you assign preview function to one of (TV, RADIO, Red, Green, Yellow, Blue) you will have exactly the same functionality. Preview function firstly checks if something is being played. If not, starts playing selected item. If yes, it stops it and:
- starts playing selected item if it is not the same that was being played already
- does nothing else when selection points to the item which was alredy being played
if playInBackground:
	 self.list.playInBackground = None
	 self.session.nav.stopService()
	 if playInBackground != current:
	  # come back to play the new one
	  self.callLater(self.preview)
Starting preview by > is only an extra feature. The main function for those keys is jumping to next or previous item.
I'm not sure that users will be able to catch the logic when we differentiate the < > keys behavior for movies and songs.
I suppose when you use it mainly for movies, jumping functionality is not the priority - perhaps my patch will be then sufficient...
I'm open for suggestions. :)
Regards.

In Topic: Movie Player modifications

25 March 2012 - 18:56

I placed wrong MovieSelection.py file - it has not the correction for audio extensions. Please find the right one attached.
Sorry for that. :(
Regards.

In Topic: Movie Player modifications

25 March 2012 - 18:31

IMS, thanks for suggestions.

if you want, try add into MovieSelection on end of init

self.lastservice = session.nav.getCurrentlyPlayingServiceReference()

and there in playbackStop() replace stopService line with
self.session.nav.playService(self.lastservice)

Sorry, but I'm not going to implement it. We had a discussion about it earlier and there were to main issues:
- the majority of us like the functionality as it is
- Mike wrote that there is problem with restarting some coded services
To be honest I like the functionality very much - it let me know when playing / previewing stops. :)
Additionally I'm going to use PIG window for showing last viewed movie frame or image file when browsing the list.
Please find the patch attached.
The < > keys can now be configured by user - for playing next / previous item in preview mode (as default) or to start / stop preview (> key) and stop preview (< key).
In this way we keep current functionality and solve your problem (I hope :) ).
I added also wma extension as I saw Pieter patch for MediaPlayer and playing wma files should now be possible in MoviePlayer.
Regards.