google-code-export / django-syncr

Automatically exported from code.google.com/p/django-syncr
0 stars 0 forks source link

YouTube sync fails when a public feed includes private videos #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For example, this happens when the user has uploaded private videos and you
try to sync their upload feed. I think, in these cases, we want to get all
the public videos. The API responds with simply 'Video not found' in these
cases. I'm preparing a patch I will attach shortly, but I expect some minor
debate about the interface. Should it just be a given that you skip these?
Do you need a flag to retain the failure on these videos and kill the sync?
I'd like some feedback on that and I'll contribute whatever is thought best.

Original issue reported on code.google.com by ironfro...@gmail.com on 2 Jun 2009 at 1:31

GoogleCodeExporter commented 9 years ago

Original comment by ironfro...@gmail.com on 2 Jun 2009 at 1:46

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, let me see if I understand the problem first. If the user's upload feed
contains private, as well as public videos, the sync fails when: 1) it tries to
process the upload feed list (API returns Video Not Found) or 2) as it's 
working it's
way through the list and hits one of these private videos (which are listed in 
the
feed list obtained in step 1)?

I think you mean it fails in (2), but then I would wonder why they include 
private
videos in a feed listing if you have no more access to it? Is it possible to 
pass a
paramter to the upload list feed call to show only public videos? Do I 
understand the
problem right?

Original comment by jesse.l...@gmail.com on 9 Jun 2009 at 1:26