summaryrefslogtreecommitdiff
path: root/vdrmanager/src/de
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2013-06-12 10:47:44 +0200
committerlado <herrlado@gmail.com>2013-06-12 10:47:44 +0200
commita660a2cc20505aeb63bccc505b5c90de4f04cd86 (patch)
tree70a69bd396dc9129aa40957350e5e72626ce02a8 /vdrmanager/src/de
parent241ae4d10710f825b1cfcc0ccbd48ecdfb7993ba (diff)
downloadvdr-manager-a660a2cc20505aeb63bccc505b5c90de4f04cd86.tar.gz
vdr-manager-a660a2cc20505aeb63bccc505b5c90de4f04cd86.tar.bz2
fixed recording streaming
Diffstat (limited to 'vdrmanager/src/de')
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/EpgDetailsActivity.java18
1 files changed, 11 insertions, 7 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EpgDetailsActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EpgDetailsActivity.java
index 861746c..6f4a42d 100644
--- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EpgDetailsActivity.java
+++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EpgDetailsActivity.java
@@ -477,13 +477,6 @@ public class EpgDetailsActivity extends ICSBaseActivity implements
final Event cEvent = epgs.get(pager.getCurrentItem());
- final Timerable timerable;
-
- if(cEvent instanceof Timerable){
- timerable = (Timerable)cEvent;
- } else {
- return;
- }
switch (v.getId()) {
case R.id.epg_event_livetv:
@@ -510,11 +503,22 @@ public class EpgDetailsActivity extends ICSBaseActivity implements
} else if (cEvent instanceof Recording) {
ada.add(new Wrapper(R.string.epg_item_menu_timer_delete));
} else {
+
ada.add(new Wrapper(R.string.epg_item_menu_timer_add));
if (Utils.isLive(cEvent) && (cEvent instanceof Timerable) && ((Timerable)cEvent).getTimer() == null) {
ada.add(new Wrapper(R.string.epg_item_menu_timer_record));
}
}
+
+ final Timerable timerable;
+
+ if(cEvent instanceof Timerable){
+ timerable = (Timerable)cEvent;
+ } else {
+ return;
+ }
+
+
new AlertDialog.Builder(this)
.setAdapter(ada, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {