Skip to content

Commit

Permalink
new script MEDIASET , fix scriptlib
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrosa committed Dec 30, 2011
1 parent 9ca3734 commit b6c753b
Show file tree
Hide file tree
Showing 4 changed files with 542 additions and 2 deletions.
2 changes: 2 additions & 0 deletions scripts/alias/alias.conf
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,6 @@ canale 5-mediaset=canale5
italia 1-mediaset=italia1
rete 4-mediaset=rete4
premium cinema-mediaset=premium cinema hd
mtv-skyitalia=mtv


4 changes: 4 additions & 0 deletions scripts/lib/scriptlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ def log2video_pbar_off(self):
sys.stdout.flush()

def log2video_pbar(self,i):
if i > 100:
i = 100
if i < 0:
i = 0
print("PROGRESS %d" % i)
sys.stdout.flush()

Expand Down
8 changes: 6 additions & 2 deletions scripts/mediaset/mediaset.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
# default provider used for searching channel name in lamedb
DEFAULT_PROVIDER=mediaset

# cache dir name
# default CACHE_DIRNAME=script_mediaprem_cache
CACHE_DIRNAME=script_mediaset_cache

# GMT zone used in remote website (NOT in receiver)
# positive if east GMT (like Italy) , i.e. GMT_ZONE=1
# negative if west GMT (like USA) , i.e. GMT_ZONE=-6
Expand Down Expand Up @@ -61,7 +65,7 @@ I1=1,italia 1|italia1
R4=1,rete 4|rete4

# La5 , id=KA
KA=1,la5
KA=1,la5,la 5

# Mediaset Extra , id=KQ
KQ=1,mediaset extra
Expand All @@ -73,5 +77,5 @@ KI=1,iris
BOING=0,boing

# Italia 2 , id=I2
I2=1,italia 2|italia 2
I2=1,italia2|italia 2|mediaset italia due

0 comments on commit b6c753b

Please sign in to comment.