> I fully agree with you here. Maybe the YouTube API will allow us to
> get feeds with file sizes in the future. For now, leaving it out is
> probably a good idea. Want to send a patch? :)

Yup.
From b15b05b3ba4759d5f906b32d90f8e6d7eb38ab62 Mon Sep 17 00:00:00 2001
From: Justin Forest <[email protected]>
Date: Sat, 31 Jan 2009 16:55:47 +0300
Subject: [PATCH] Do not retrieve sizes of YouTube episodes.

This is just too slow.
---
 src/gpodder/libpodcasts.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/gpodder/libpodcasts.py b/src/gpodder/libpodcasts.py
index f45f99d..bd4264f 100644
--- a/src/gpodder/libpodcasts.py
+++ b/src/gpodder/libpodcasts.py
@@ -206,9 +206,6 @@ class podcastChannel(object):
                         self.count_new -= 1
                         episode = ex
 
-                if not episode.length:
-                    episode.length = resolver.get_real_episode_length(episode)
-
                 episode.save(bulk=True)
 
         return ( True, None )
-- 
1.5.6.3

_______________________________________________
gpodder-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-devel

Reply via email to