enigma2-plugins.git
8 years agoMerge branch 'master' of git://schwerkraft.elitedvb.net/enigma2-plugins/enigma2-plugins
betonme [Sat, 13 Aug 2011 14:35:18 +0000 (16:35 +0200)]
Merge branch 'master' of git://schwerkraft.elitedvb.net/enigma2-plugins/enigma2-plugins

8 years agoFixed Typo
betonme [Sat, 13 Aug 2011 14:34:11 +0000 (16:34 +0200)]
Fixed Typo

8 years agofix license in about
sreichholf [Fri, 12 Aug 2011 13:20:46 +0000 (15:20 +0200)]
fix license in about

8 years agoFIX last fix :-)
Michael Schmidt [Fri, 12 Aug 2011 10:33:32 +0000 (12:33 +0200)]
FIX last fix :-)

Change-Id: Id5c1f1b3dfffd1e85ee1e60c6663a6e6e2e3aa3d

8 years agoFIX: reverselookup.xml for 11880.com
Michael Schmidt [Fri, 12 Aug 2011 10:08:57 +0000 (12:08 +0200)]
FIX: reverselookup.xml for 11880.com

Change-Id: I0e44cf7d6e934d3dc53b0552e4d887de0d045307

8 years agoAutoTimer.py: make reading extdesc a little more reliable
Moritz Venn [Thu, 11 Aug 2011 10:58:46 +0000 (12:58 +0200)]
AutoTimer.py: make reading extdesc a little more reliable

8 years agoAutoTimer.py: try to fix avoidDuplicateDescription again
Moritz Venn [Thu, 11 Aug 2011 07:46:46 +0000 (09:46 +0200)]
AutoTimer.py: try to fix avoidDuplicateDescription again

8 years agoAutoTimer.py: fix typo (copy&paste?)
Moritz Venn [Wed, 10 Aug 2011 22:36:54 +0000 (00:36 +0200)]
AutoTimer.py: fix typo (copy&paste?)

8 years agoAutoTimer.py: small optimization, use chain when generating timer lists
Moritz Venn [Wed, 10 Aug 2011 22:35:43 +0000 (00:35 +0200)]
AutoTimer.py: small optimization, use chain when generating timer lists

8 years agoimdb: smaller cleanup
Moritz Venn [Wed, 10 Aug 2011 19:09:42 +0000 (21:09 +0200)]
imdb: smaller cleanup

8 years agoimdb: fix regexes for international site
Moritz Venn [Wed, 10 Aug 2011 19:08:46 +0000 (21:08 +0200)]
imdb: fix regexes for international site

8 years agopluginhider: use attrgetter instead of lambda function
Moritz Venn [Wed, 10 Aug 2011 16:28:42 +0000 (18:28 +0200)]
pluginhider: use attrgetter instead of lambda function

8 years agoEPGSearch.py: use itemgetter instead of lambda function
Moritz Venn [Wed, 10 Aug 2011 16:28:29 +0000 (18:28 +0200)]
EPGSearch.py: use itemgetter instead of lambda function

8 years agoAutoTimer.py: sort matches using itemgetter
Moritz Venn [Wed, 10 Aug 2011 16:21:00 +0000 (18:21 +0200)]
AutoTimer.py: sort matches using itemgetter

easier, faster, ... no reason not to use it :)

8 years agoautotimer: improve thread handling
Moritz Venn [Wed, 10 Aug 2011 14:42:48 +0000 (16:42 +0200)]
autotimer: improve thread handling

now using just one thread per autopoller instance and just pauses it
while in the plugin configuration.

8 years agoAutoPoller.py: smaller cleanup
Moritz Venn [Tue, 9 Aug 2011 22:02:58 +0000 (00:02 +0200)]
AutoPoller.py: smaller cleanup

since we render the thread unusable in the stop method we should remove
the references to out member functions from timer/pump.
also removes unnecessary (and wrong) release of semaphore.

8 years agoAutoPoller.py: create new thread on each start
Moritz Venn [Tue, 9 Aug 2011 20:33:12 +0000 (22:33 +0200)]
AutoPoller.py: create new thread on each start

8 years agoAutoPoller.py: some stupid optimizations
Moritz Venn [Tue, 9 Aug 2011 20:23:42 +0000 (22:23 +0200)]
AutoPoller.py: some stupid optimizations

8 years agoAutoPoller.py: deque should be enough
Moritz Venn [Tue, 9 Aug 2011 20:17:55 +0000 (22:17 +0200)]
AutoPoller.py: deque should be enough

collections.deque should be good enough for this use and it is way
faster than Queue.Queue.

8 years agoautotimer/epgrefresh: follow webif change
Moritz Venn [Fri, 27 May 2011 21:21:01 +0000 (23:21 +0200)]
autotimer/epgrefresh: follow webif change

8 years agowebif: overview of external modules
Moritz Venn [Fri, 27 May 2011 21:16:18 +0000 (23:16 +0200)]
webif: overview of external modules

also allows to add two more elements to the child: human readable name
and version. name defaults to path and version to "unknown".

8 years agoRSSFeed.py: fix iterating over feeds again
Moritz Venn [Tue, 9 Aug 2011 18:39:12 +0000 (20:39 +0200)]
RSSFeed.py: fix iterating over feeds again

8 years agoAutoPoller.py: use a thread for background parsing
Moritz Venn [Tue, 9 Aug 2011 18:29:33 +0000 (20:29 +0200)]
AutoPoller.py: use a thread for background parsing

8 years agofix false assumption when updating syntax
Moritz Venn [Tue, 9 Aug 2011 16:43:02 +0000 (18:43 +0200)]
fix false assumption when updating syntax

now uses iteritems again on python 2.x

8 years agoautotimer: update syntax
Moritz Venn [Tue, 9 Aug 2011 16:35:32 +0000 (18:35 +0200)]
autotimer: update syntax

8 years agomoviesearch: use fancy print function from the future
Moritz Venn [Mon, 8 Aug 2011 17:59:05 +0000 (19:59 +0200)]
moviesearch: use fancy print function from the future

8 years agowerbezapper: remove debug print
Moritz Venn [Mon, 8 Aug 2011 17:58:16 +0000 (19:58 +0200)]
werbezapper: remove debug print

8 years agoftpbrowser: update syntax
Moritz Venn [Mon, 8 Aug 2011 17:57:14 +0000 (19:57 +0200)]
ftpbrowser: update syntax

8 years agosimplerss: update syntax
Moritz Venn [Mon, 8 Aug 2011 12:41:19 +0000 (14:41 +0200)]
simplerss: update syntax

8 years agomediadownloader: update syntax
Moritz Venn [Mon, 8 Aug 2011 12:40:29 +0000 (14:40 +0200)]
mediadownloader: update syntax

8 years agoimdb: update syntax
Moritz Venn [Mon, 8 Aug 2011 12:30:42 +0000 (14:30 +0200)]
imdb: update syntax

8 years agoepgrefresh: update to newer python syntax
Moritz Venn [Mon, 8 Aug 2011 12:22:22 +0000 (14:22 +0200)]
epgrefresh: update to newer python syntax

8 years agoupdate some syntax and make the code more future-proof ;)
Moritz Venn [Mon, 8 Aug 2011 10:04:50 +0000 (12:04 +0200)]
update some syntax and make the code more future-proof ;)

8 years agoAutoTimer.py: tiny optimization
Moritz Venn [Tue, 9 Aug 2011 16:21:59 +0000 (18:21 +0200)]
AutoTimer.py: tiny optimization

8 years agoAutoTimer.py: smaller style change / micro-optimization
Moritz Venn [Tue, 9 Aug 2011 14:35:38 +0000 (16:35 +0200)]
AutoTimer.py: smaller style change / micro-optimization

creating a list takes longer than creating a tuple ;)

8 years agoautotimer: ignore evtLimit for similar timers
Moritz Venn [Tue, 9 Aug 2011 14:29:00 +0000 (16:29 +0200)]
autotimer: ignore evtLimit for similar timers

I feel this makes the feature unintuitive or to put it differently: I
spend quite some time debugging why no similar timers were found :D

8 years agoAutoTimer.py: merge the two match-paths again
Moritz Venn [Tue, 9 Aug 2011 13:45:00 +0000 (15:45 +0200)]
AutoTimer.py: merge the two match-paths again

though it looks a little weird, it's easier to maintain and probably a
little more "natural" (despite the order of the checks which is due to
easier checks being done first)

8 years agoAutoPoller.py: use custom notification for similar timers
Moritz Venn [Tue, 9 Aug 2011 13:41:40 +0000 (15:41 +0200)]
AutoPoller.py: use custom notification for similar timers

otherwise we might never see the general one.
those two probably should be merged though.

8 years agoAutoTimer.py: whitespace cleanup
Moritz Venn [Tue, 9 Aug 2011 13:35:38 +0000 (15:35 +0200)]
AutoTimer.py: whitespace cleanup

8 years agoautotimer: reduce xml config version to 5 again
Moritz Venn [Tue, 9 Aug 2011 12:21:37 +0000 (14:21 +0200)]
autotimer: reduce xml config version to 5 again

this version number only indicates the version of the config file and
only intended for internal use by the parser. increasing the number
should only be done if there is an incompatible change in syntax/meaning
of values to the previous version(s), which is why the "fallback
algorithm" parseConfigOld is called. it is to be modified according to
the changes in order for bumping the version to make any sense.

this might lead to the same trouble that people could have run into when
installing this version in the first place (config COULD be read
incorrectly) but let's hope there were no errors in the first place.

8 years agoautotimer: use system difflib
Moritz Venn [Tue, 9 Aug 2011 12:00:45 +0000 (14:00 +0200)]
autotimer: use system difflib

we should rather use system difflib (by pulling it as a dependency) than
shipping the module ourselves. this saves space and possibly computation
time.

8 years agoSome channels indicate replays of series in the extended descriptions.
betonme [Wed, 3 Aug 2011 17:00:28 +0000 (19:00 +0200)]
Some channels indicate replays of series in the extended descriptions.
Then the descriptions are not equal and the similar search won't find the replays.
Solution:
The SequenceMatcher will analyze the similarity of the sequences.
The ratio will return a percent value.
If the similarity percent is higher then 0.8 it is a very very close match.
For more information, see python library reference:
http://docs.python.org/release/2.5.2/lib/sequencematcher-examples.html

8 years agoAdded comments
betonme [Tue, 2 Aug 2011 22:15:56 +0000 (00:15 +0200)]
Added comments

8 years agoCode cleanup
betonme [Tue, 2 Aug 2011 17:38:46 +0000 (19:38 +0200)]
Code cleanup

8 years agoOriginal autotimer event will be added as disabled if no similar event can be added
betonme [Mon, 1 Aug 2011 17:43:16 +0000 (19:43 +0200)]
Original autotimer event will be added as disabled if no similar event can be added

8 years agoSimilar timer will be added if it is before the regular autotimer
betonme [Mon, 1 Aug 2011 16:37:39 +0000 (18:37 +0200)]
Similar timer will be added if it is before the regular autotimer

8 years agoBugFix: similar dictionary adding new event
betonme [Sun, 31 Jul 2011 18:18:54 +0000 (20:18 +0200)]
BugFix: similar dictionary adding new event

8 years agoBugfix:
betonme [Sun, 31 Jul 2011 13:12:10 +0000 (15:12 +0200)]
Bugfix:
Used wrong key in similar dictionary

8 years agoOptimized execution time
betonme [Fri, 29 Jul 2011 18:38:25 +0000 (20:38 +0200)]
Optimized execution time
time 0.001003 seconds with for with custom exception
time 0.000602 seconds with generator function from itertools chain.from_iterable

8 years agoOptimized execution time
betonme [Fri, 29 Jul 2011 17:23:37 +0000 (19:23 +0200)]
Optimized execution time
old time 0.001917 seconds
new time 0.001346 seconds

8 years agoOptimized execution time
betonme [Fri, 29 Jul 2011 17:12:50 +0000 (19:12 +0200)]
Optimized execution time
old time 0.002727 seconds
new time 0.001917 seconds

8 years agoBugs fixed
betonme [Fri, 29 Jul 2011 15:00:51 +0000 (17:00 +0200)]
Bugs fixed
movidict getEvent was commented out
Timer was added to the recorddict but it has to be newentry

8 years agoTimers will also be compared by the extended description.
betonme [Thu, 28 Jul 2011 20:48:39 +0000 (22:48 +0200)]
Timers will also be compared by the extended description.
Regards config: avoidDuplicateDescription = 1 and 2 = "Same / Any service"

recordTimer = NavigationInstance.instance.RecordTimer
moviedict = defaultdict(list)
recorddict = defaultdict(list)
Removed AutoTimerIgnoreTimerException with for else construct

8 years agoTimer and service/recordings are now compared by name, short and extended description.
betonme [Wed, 27 Jul 2011 19:22:17 +0000 (21:22 +0200)]
Timer and service/recordings are now compared by name, short and extended description.
The last AutoTimer only compared the name and short description.
But the short description often only contains the movie title, which will end in problems if we want to record tv series.
Regards config: avoidDuplicateDescription = 3 = "Any service/recording"

8 years agoIf a timer conflict occurs, AutoTimer can search for additional similar events and...
betonme [Tue, 26 Jul 2011 21:34:35 +0000 (23:34 +0200)]
If a timer conflict occurs, AutoTimer can search for additional similar events and add a timer for the next one.

DISABLED CHECKS FOR SIMILAR TIMERS
checkTimespan
checkTimeframe
checkFilter ( day is set to false and will be ignored )

NEW CONFIG ENTRIES
1 addsimilar_on_conflict: Add similar timer on conflict
2 notifsimilar: Show notification on similars

FURTHER
Multiple similar timers can be handled.
A similar timer will get a special log entry.
CURRENT_CONFIG_VERSION is now 6

Signed-off-by: betonme
8 years ago[mytube] fix typo (missing "), fixes history on skins not redefining
sreichholf [Mon, 8 Aug 2011 21:04:09 +0000 (23:04 +0200)]
[mytube] fix typo (missing "), fixes history on skins not redefining
mytube's screens

8 years ago[mytube] fix menu in feedlist when there is no feed being loaded on
sreichholf [Mon, 8 Aug 2011 20:38:32 +0000 (22:38 +0200)]
[mytube] fix menu in feedlist when there is no feed being loaded on
plugin
start

8 years ago[mytube] Do not show search/suggestionlist when user selected to load a
sreichholf [Mon, 8 Aug 2011 20:19:40 +0000 (22:19 +0200)]
[mytube] Do not show search/suggestionlist when user selected to load a
default feed on plugin start. Fix wrong method name in debug output

8 years agofix warning -> use hashlib instead of sha1 module
sreichholf [Mon, 8 Aug 2011 19:10:01 +0000 (21:10 +0200)]
fix warning -> use hashlib instead of sha1 module

8 years ago[webif] remove debugstuff
sreichholf [Sun, 7 Aug 2011 12:21:15 +0000 (14:21 +0200)]
[webif] remove debugstuff

8 years ago[webif] woraround some strange opkg issues with repated messages when
sreichholf [Sun, 7 Aug 2011 12:19:48 +0000 (14:19 +0200)]
[webif] woraround some strange opkg issues with repated messages when
installing packages via /opkg?command=install?package=xyz

8 years ago[mytube] more cleanups
sreichholf [Sun, 7 Aug 2011 12:19:38 +0000 (14:19 +0200)]
[mytube] more cleanups

8 years agoMerge remote-tracking branch 'origin/master'
Jürgen Strasdas [Sat, 6 Aug 2011 12:03:06 +0000 (14:03 +0200)]
Merge remote-tracking branch 'origin/master'

8 years ago[VPS]Update German localization
Jürgen Strasdas [Sat, 6 Aug 2011 12:02:32 +0000 (14:02 +0200)]
[VPS]Update German localization

8 years agoMerge branch 'master' of ssh://drmichael@scm.schwerkraft.elitedvb.net/scmrepos/git...
Michael Schmidt [Sat, 6 Aug 2011 11:50:54 +0000 (13:50 +0200)]
Merge branch 'master' of ssh://drmichael@scm.schwerkraft.elitedvb.net/scmrepos/git/enigma2-plugins/enigma2-plugins.git

8 years agoFIX: reverse lookup should work again
Michael Schmidt [Sat, 6 Aug 2011 11:50:13 +0000 (13:50 +0200)]
FIX: reverse lookup should work again

Change-Id: I1a0cc2109bbf24977b0765953d89cf8ccaa8be25

8 years agoMerge branch 'master' of ssh://sreichholf@scm.schwerkraft.elitedvb.net/scmrepos/git...
sreichholf [Fri, 5 Aug 2011 20:18:36 +0000 (22:18 +0200)]
Merge branch 'master' of ssh://sreichholf@scm.schwerkraft.elitedvb.net/scmrepos/git/enigma2-plugins/enigma2-plugins.git

8 years agomore cleanup
sreichholf [Fri, 5 Aug 2011 20:18:22 +0000 (22:18 +0200)]
more cleanup

8 years agowebif/MP: bail out on loadPlaylist if playlist does not exist
Moritz Venn [Fri, 5 Aug 2011 20:16:32 +0000 (22:16 +0200)]
webif/MP: bail out on loadPlaylist if playlist does not exist

8 years agowebif/MP: use SCOPE_PLAYLIST instead of SCOPE_CONFIG as base for playlists
Moritz Venn [Fri, 5 Aug 2011 20:10:20 +0000 (22:10 +0200)]
webif/MP: use SCOPE_PLAYLIST instead of SCOPE_CONFIG as base for playlists

otherwise the path might not exist thus resulting in an unexpected
error.

8 years agowebif/MP: fix loading playlists
Moritz Venn [Fri, 5 Aug 2011 20:02:13 +0000 (22:02 +0200)]
webif/MP: fix loading playlists

8 years agosome import and code cleanup
sreichholf [Fri, 5 Aug 2011 20:01:31 +0000 (22:01 +0200)]
some import and code cleanup

8 years ago[mytube] issue youtube-requests in a python to avoid
sreichholf [Fri, 5 Aug 2011 17:24:21 +0000 (19:24 +0200)]
[mytube] issue youtube-requests in a python to avoid
spinners/mainloop-blocking

8 years agoMerge branch 'master' of ssh://sreichholf@scm.schwerkraft.elitedvb.net/scmrepos/git...
sreichholf [Fri, 5 Aug 2011 17:23:27 +0000 (19:23 +0200)]
Merge branch 'master' of ssh://sreichholf@scm.schwerkraft.elitedvb.net/scmrepos/git/enigma2-plugins/enigma2-plugins.git

8 years ago[mytube] issue youtube-requests from a python-thread to avoid
sreichholf [Fri, 5 Aug 2011 17:23:17 +0000 (19:23 +0200)]
[mytube] issue youtube-requests from a python-thread to avoid
spinners/mainloop-blocking.

8 years agowebinterface: added e2Remote to tools
Timo Eissler [Fri, 5 Aug 2011 16:52:22 +0000 (18:52 +0200)]
webinterface: added e2Remote to tools

8 years agoadded plugin icon (thanks to ketschuss)
Dr.Best [Thu, 4 Aug 2011 19:37:29 +0000 (21:37 +0200)]
added plugin icon (thanks to ketschuss)

8 years agoadded url_encoded_fmt_stream_map - element -> fix for video playing
Dr.Best [Thu, 4 Aug 2011 19:30:50 +0000 (21:30 +0200)]
added url_encoded_fmt_stream_map - element -> fix for video playing

8 years agoadded url_encoded_fmt_stream_map - element -> fix for video playing
Dr.Best [Thu, 4 Aug 2011 19:27:03 +0000 (21:27 +0200)]
added url_encoded_fmt_stream_map - element -> fix for video playing

8 years agoFIX: FR and US
Michael Schmidt [Sat, 30 Jul 2011 11:41:02 +0000 (13:41 +0200)]
FIX: FR and US

Change-Id: Ib8135feaa9181582430b6e0a4e20d5d7608594ad

8 years agobonjour: catch exception on missing write permission
Andreas Oberritter [Fri, 29 Jul 2011 15:33:12 +0000 (17:33 +0200)]
bonjour: catch exception on missing write permission

8 years agofancontrol2: use $(libdir) in Makefile.am
Andreas Oberritter [Fri, 29 Jul 2011 12:06:10 +0000 (14:06 +0200)]
fancontrol2: use $(libdir) in Makefile.am

8 years agoAutoResolution: fix crash on startup
Andreas Oberritter [Wed, 13 Jul 2011 13:01:30 +0000 (15:01 +0200)]
AutoResolution: fix crash on startup

8 years agoAutomaticVolumeAdjustment: fix crash on startup
Andreas Oberritter [Wed, 13 Jul 2011 13:01:12 +0000 (15:01 +0200)]
AutomaticVolumeAdjustment: fix crash on startup

8 years agoUse eEnv.resolve() in some places to avoid hardcoded paths.
Andreas Oberritter [Wed, 13 Jul 2011 12:49:38 +0000 (14:49 +0200)]
Use eEnv.resolve() in some places to avoid hardcoded paths.

This is just an example, covering only few plug-ins. There are
many more hardcoded paths throughout the tree which should get
replaced, too.

8 years agonew option: close player with exit-key
Dr.Best [Thu, 28 Jul 2011 21:28:15 +0000 (23:28 +0200)]
new option: close player with exit-key

8 years ago[AutomaticCleanup]Avoid unintended side effect (which I was unaware of)
Jürgen Strasdas [Thu, 28 Jul 2011 18:32:02 +0000 (20:32 +0200)]
[AutomaticCleanup]Avoid unintended side effect (which I was unaware of)

8 years agocheck if event is available
Dr.Best [Wed, 27 Jul 2011 18:48:00 +0000 (20:48 +0200)]
check if event is available

8 years agofixed typo
Dr.Best [Tue, 26 Jul 2011 17:17:41 +0000 (19:17 +0200)]
fixed typo

8 years agofixed missing plugin in makefile
Dr.Best [Mon, 25 Jul 2011 21:58:18 +0000 (23:58 +0200)]
fixed missing plugin in makefile

8 years agowhat a mess...sorry!
Dr.Best [Mon, 25 Jul 2011 21:48:09 +0000 (23:48 +0200)]
what a mess...sorry!
Fixed last commit...

8 years agoMerge branch 'master' of git+ssh://scm.schwerkraft.elitedvb.net/scmrepos/git/enigma2...
Dr.Best [Mon, 25 Jul 2011 21:33:12 +0000 (23:33 +0200)]
Merge branch 'master' of git+ssh://scm.schwerkraft.elitedvb.net/scmrepos/git/enigma2-plugins/enigma2-plugins

8 years agoinitial checkin of YTTrailer-Plugin
Dr.Best [Mon, 25 Jul 2011 21:29:49 +0000 (23:29 +0200)]
initial checkin of YTTrailer-Plugin

8 years agoFIX for latest problems with labor version
Michael Schmidt [Sun, 24 Jul 2011 20:10:43 +0000 (22:10 +0200)]
FIX for latest problems with labor version

8 years ago[ShowClock]Fix typo
Jürgen Strasdas [Sat, 23 Jul 2011 16:49:49 +0000 (18:49 +0200)]
[ShowClock]Fix typo

8 years agoMerge remote-tracking branch 'origin/master'
Jürgen Strasdas [Sat, 23 Jul 2011 09:52:25 +0000 (11:52 +0200)]
Merge remote-tracking branch 'origin/master'

8 years ago[ShowClock]Fix typo
Jürgen Strasdas [Sat, 23 Jul 2011 09:51:23 +0000 (11:51 +0200)]
[ShowClock]Fix typo

8 years ago[AutomaticCleanup]Initial checkin
Jürgen Strasdas [Fri, 22 Jul 2011 04:55:07 +0000 (06:55 +0200)]
[AutomaticCleanup]Initial checkin

8 years ago[EasyInfo] Add the flash-picon-path also
vali [Thu, 21 Jul 2011 17:51:10 +0000 (13:51 -0400)]
[EasyInfo] Add the flash-picon-path also

8 years ago[EasyInfo] Bugfix if only a few entries
vali [Thu, 21 Jul 2011 17:14:57 +0000 (13:14 -0400)]
[EasyInfo] Bugfix if only a few entries