Re: [Freevo-users] Appletrailers plugin Freevo 1.5rc2
Cheers I didn't have the original .tar.gz file for installing the rest of the files that come with it. I got sent it and replaced the appletrailers.py and it works great now! Nicholas Ruddick Lars Michael Jogback wrote: I've copied the attached appletrailers.py into the plugins directory and put plugin.activate('video.appletrailers') as it states in the file into local_conf but nothing is showing up on the main menu or the Watch a Movie screen. What am i doing wrong? Thanks Nicholas Ruddick For me it works if I put the file in the src/video/plugins directory. Best Regards, /LM --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62alloc_ida84opÌk ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62alloc_ida84op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Appletrailers plugin Freevo 1.5rc2
Add DEBUG = 1 to your local_conf.py and see what info you get back. On Sat, 2004-05-15 at 17:31 +0100, Nicholas Ruddick wrote: I've copied the attached appletrailers.py into the plugins directory and put plugin.activate('video.appletrailers') as it states in the file into local_conf but nothing is showing up on the main menu or the Watch a Movie screen. What am i doing wrong? Thanks Nicholas Ruddick Robert Winder wrote: Thanks, much appreciated.. Working fine now. ;-) /Robert Friday, May 14, 2004, 6:01:25 PM, johnm wrote: I've updated the appletrailers plugin. Try the attached version. On Thu, 2004-05-13 at 13:54, Robert Winder wrote: same here with a freevo version somewhere between 1.4 and 1.5. The format of the web page is changed i think. http://www.apple.com/trailers/ Got no idea how that page looked like before but looking in the appletrailer.py code it looks somewhat similar. I got no idea who wrote that plugin all i now it's not supported with freevo. So if the person who made that plugin can have a quick look into it i suppose it good be easily updated. Personally i am not sure what to look for and it would probably take ages to update it .. ;-) /Robert Thursday, May 13, 2004, 1:50:34 PM, johnm wrote: I hadn't tried this plugin before but it doesn't appear to be functioning. Whether I browse by title or studio both return 'This directory is empty'. Anyone got this working either in 1.5 or earlier? Any ideas? Johnm. --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Appletrailers plugin Freevo 1.5rc2
I've copied the attached appletrailers.py into the plugins directory and put plugin.activate('video.appletrailers') as it states in the file into local_conf but nothing is showing up on the main menu or the Watch a Movie screen. What am i doing wrong? Thanks Nicholas Ruddick Robert Winder wrote: Thanks, much appreciated.. Working fine now. ;-) /Robert Friday, May 14, 2004, 6:01:25 PM, johnm wrote: I've updated the appletrailers plugin. Try the attached version. On Thu, 2004-05-13 at 13:54, Robert Winder wrote: same here with a freevo version somewhere between 1.4 and 1.5. The format of the web page is changed i think. http://www.apple.com/trailers/ Got no idea how that page looked like before but looking in the appletrailer.py code it looks somewhat similar. I got no idea who wrote that plugin all i now it's not supported with freevo. So if the person who made that plugin can have a quick look into it i suppose it good be easily updated. Personally i am not sure what to look for and it would probably take ages to update it .. ;-) /Robert Thursday, May 13, 2004, 1:50:34 PM, johnm wrote: I hadn't tried this plugin before but it doesn't appear to be functioning. Whether I browse by title or studio both return 'This directory is empty'. Anyone got this working either in 1.5 or earlier? Any ideas? Johnm. --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Appletrailers plugin Freevo 1.5rc2
I've updated the appletrailers plugin. Try the attached version. On Thu, 2004-05-13 at 13:54, Robert Winder wrote: same here with a freevo version somewhere between 1.4 and 1.5. The format of the web page is changed i think. http://www.apple.com/trailers/ Got no idea how that page looked like before but looking in the appletrailer.py code it looks somewhat similar. I got no idea who wrote that plugin all i now it's not supported with freevo. So if the person who made that plugin can have a quick look into it i suppose it good be easily updated. Personally i am not sure what to look for and it would probably take ages to update it .. ;-) /Robert Thursday, May 13, 2004, 1:50:34 PM, johnm wrote: I hadn't tried this plugin before but it doesn't appear to be functioning. Whether I browse by title or studio both return 'This directory is empty'. Anyone got this working either in 1.5 or earlier? Any ideas? Johnm. --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users #if 0 /* # --- # appletrailers.py - Plugin for streaming trailers from apple.com # --- # # Notes: This code is still beta in need of beta-testers # #Add plugin.activate('video.appletrailers') in local_conf.py #to activate # # # Todo: - use a library to join urls #- make sure alle entries on the same level are unique #- add Browse by Category #- put the state_-functions in a separate namespace #- cache movie-titles for every studio #- add more progressbars import os import config import plugin import menu import stat import time import re import urllib import string import util.fileops import util.misc from item import Item from video.videoitem import VideoItem from gui.ProgressBox import ProgressBox APPLE_URL = 'http://www.apple.com/' APPLETRAILERS_URL = 'http://www.apple.com/trailers/' MAX_CACHE_AGE = (60 * 60) * 8 # 8 hours # regexps re_excl_start = re.compile('h3Trailers Exclusive:/h3', re.IGNORECASE) re_excl_end = re.compile('h3Newest Trailers:/h3', re.IGNORECASE) re_newest_start = re.compile('h3Newest Trailers:/h3', re.IGNORECASE) re_newest_end = re.compile('h420th Century Fox/h4', re.IGNORECASE) re_this_week_start = re.compile('!-- BEGIN THIS WEEKS FILMS HERE --', re.IGNORECASE) re_this_week_end = re.compile('!-- END THIS WEEKS FILMS HERE --', re.IGNORECASE) re_last_week_start = re.compile('!-- BEGIN LAST WEEKS FILMS HERE --', re.IGNORECASE) re_last_week_end = re.compile('!-- END LAST WEEKS FILMS HERE --', re.IGNORECASE) re_studios_start = re.compile('h420th Century Fox/h4', re.IGNORECASE) re_studios_links = re.compile(r''' ^\s+a \s+ href= (?Purl[^]+) (?Ptitle[^]+) /abr \s*$ ''', re.IGNORECASE | re.VERBOSE) re_studios_end = re.compile( 'h4Complete Movie Trailer Archive listed by Studio/h4', re.IGNORECASE) re_trailer_links = re.compile(r''' a \s+ href=(?Purl[^]+) (?Ptitle[^]+?):?/a ''', re.IGNORECASE | re.VERBOSE) re_studio_names_start = re_studios_end re_studio_names = re.compile(r''' a \s href=/trailers/ (?Purl.*?) (?Pname.*?) /a ''', re.IGNORECASE | re.VERBOSE) re_studio_names_end = re.compile('Movie Trailer Comments/Suggestions', re.IGNORECASE) re_studio_trailer_links = re.compile(r''' a \s+ href= (?Purl.*?) (?Pname.*?) /a \s+ - \s+ \d+:\d+ br ''', re.IGNORECASE | re.VERBOSE) class PluginInterface(plugin.MainMenuPlugin): A freevo interface to http://www.apple.com/trailers plugin.activate('video.appletrailers') def __init__(self): plugin.MainMenuPlugin.__init__(self) def items(self, parent): return [ BrowseBy(parent) ] class TrailerVideoItem(VideoItem): def __init__(self, name, size, url, parent): VideoItem.__init__(self, url, parent) if size == 'one_size': self.name = name else: self.name = '[%s] %s' % (size, name) self.type = 'trailers' class TrailerSize(Item): def __init__(self, name, url, parent):
Re: [Freevo-users] Appletrailers plugin Freevo 1.5rc2
Thanks, much appreciated.. Working fine now. ;-) /Robert Friday, May 14, 2004, 6:01:25 PM, johnm wrote: I've updated the appletrailers plugin. Try the attached version. On Thu, 2004-05-13 at 13:54, Robert Winder wrote: same here with a freevo version somewhere between 1.4 and 1.5. The format of the web page is changed i think. http://www.apple.com/trailers/ Got no idea how that page looked like before but looking in the appletrailer.py code it looks somewhat similar. I got no idea who wrote that plugin all i now it's not supported with freevo. So if the person who made that plugin can have a quick look into it i suppose it good be easily updated. Personally i am not sure what to look for and it would probably take ages to update it .. ;-) /Robert Thursday, May 13, 2004, 1:50:34 PM, johnm wrote: I hadn't tried this plugin before but it doesn't appear to be functioning. Whether I browse by title or studio both return 'This directory is empty'. Anyone got this working either in 1.5 or earlier? Any ideas? Johnm. --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Appletrailers plugin Freevo 1.5rc2
I hadn't tried this plugin before but it doesn't appear to be functioning. Whether I browse by title or studio both return 'This directory is empty'. Anyone got this working either in 1.5 or earlier? Any ideas? Johnm. --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Appletrailers plugin Freevo 1.5rc2
same here with a freevo version somewhere between 1.4 and 1.5. The format of the web page is changed i think. http://www.apple.com/trailers/ Got no idea how that page looked like before but looking in the appletrailer.py code it looks somewhat similar. I got no idea who wrote that plugin all i now it's not supported with freevo. So if the person who made that plugin can have a quick look into it i suppose it good be easily updated. Personally i am not sure what to look for and it would probably take ages to update it .. ;-) /Robert Thursday, May 13, 2004, 1:50:34 PM, johnm wrote: I hadn't tried this plugin before but it doesn't appear to be functioning. Whether I browse by title or studio both return 'This directory is empty'. Anyone got this working either in 1.5 or earlier? Any ideas? Johnm. --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users