From 0aa816cb9e822827634646f2d123dc50a240831b Mon Sep 17 00:00:00 2001 From: Clayton Parker Date: Sat, 3 Jul 2010 10:25:00 -0400 Subject: [PATCH] remove override of video play so users can use the share/queue buttons --- vimcasts/helpers.py | 12 ------------ vimcasts/skin/Boxee Skin NG/720p/menu.xml | 9 +-------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/vimcasts/helpers.py b/vimcasts/helpers.py index b6ae1ab..aab969a 100644 --- a/vimcasts/helpers.py +++ b/vimcasts/helpers.py @@ -1,17 +1,5 @@ import mc -def play_video(): - """Play the selected video directly instead of asking the user - if they want to play it. - """ - player = mc.GetPlayer() - feed_list = mc.GetWindow(14000).GetList(100) - focused_item = feed_list.GetFocusedItem() - episodes = feed_list.GetItems() - if player.IsPlaying(): - player.Stop() - player.Play(episodes[focused_item]) - def cleanse_feed(): """Modify the feed to do two things. diff --git a/vimcasts/skin/Boxee Skin NG/720p/menu.xml b/vimcasts/skin/Boxee Skin NG/720p/menu.xml index 5056372..8a51484 100644 --- a/vimcasts/skin/Boxee Skin NG/720p/menu.xml +++ b/vimcasts/skin/Boxee Skin NG/720p/menu.xml @@ -67,14 +67,7 @@ helpers.cleanse_feed() true - - - - - +