Closed GoogleCodeExporter closed 9 years ago
Hello,
Hmm, sorry that you're running into this. I took a look at the error response returned to the client and the underlying issue is that the playlist associated with your YTD assignment has reached the maximum size of 200 videos. The latest YTD codebase will attempt to remove the oldest video from the playlist and insert the new submission to the front of the playlist, but for some reason I'm not clear on, the YouTube API call to remove the oldest video from the playlist is failing with an "java.lang.UnsupportedOperationException: Entry cannot be deleted" exception.
I'm not clear on why this would be happening—I'm assuming that you're properly authenticated with the YouTube API in the YTD configuration? Is the account you're currently authenticated as definitely the owner of the playlist that's associated with that assignment?
In any case, I've modified the code in the SVN trunk to explicitly catch that UnsupportedOperationException and log it, so even if the automatic playlist deletion/addition fails, it won't affect the user experience when submitting a video. Please sync again and redeploy. I'd really like to get to the bottom of why the playlist modification is failing for you.
Original comment by api.je...@gmail.com
on 24 Nov 2010 at 5:41
Original comment by api.je...@gmail.com
on 24 Nov 2010 at 5:41
Hi,
we are definitely authenticated properly, and the account i am using is the
owners account. I redeployed.. and it seems to work now, kind of...
I have moderation mode turned off.. in order for the videos to show up now.. it
looks like i have to go in and manually set it to ureviewed.. and then back to
approve before it'll show up in my playlist.
Original comment by monroeev...@gmail.com
on 24 Nov 2010 at 6:46
Okay, great, I think the fact that you had moderation turned off was the key
here. I've hopefully fixed the issue with
http://code.google.com/p/youtube-direct/source/detail?r=552 so if you sync up
and redeploy one more time, hopefully the automatic playlist management
(including removing the oldest video once you reach 200 and adding the new one
without any intervention) should be working.
Please reopen this issue if you're still having problems!
Original comment by api.je...@gmail.com
on 24 Nov 2010 at 6:59
Original issue reported on code.google.com by
jdse...@gmail.com
on 22 Nov 2010 at 1:27