Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating all playlists produces some errors #84

Open
repejota opened this issue Jun 30, 2018 · 1 comment
Open

Updating all playlists produces some errors #84

repejota opened this issue Jun 30, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@repejota
Copy link
Member

Executing the management command manage update_all_playlists | grep ERROR produces the following list of errors:

ERROR: Youtube Data API does not return anything for playlist PLhr1KZpdzukcip4KMGgaKyIP
ERROR: Youtube Data API does not return anything for playlist PLQ176FUIyIUY6UK1cgVsbdPY
ERROR: Youtube Data API does not return anything for playlist PLIIjEI2fYC-DBvLGbhw_SkeH
ERROR: Youtube Data API does not return anything for playlist PLoxsuhBe-jd85-_rhcBYsuXx
ERROR: Youtube Data API does not return anything for playlist PL81sUbsFNc5Y-jbEC1y5BWen
ERROR: Youtube Data API does not return anything for playlist PLuVqdWOQ-PNkImAnAzU8QJ9g
ERROR: Youtube Data API does not return anything for playlist PLGz_X9w9raXeT-z_rcZ9yF0k
ERROR: Youtube Data API does not return anything for playlist PLEfMnf7gx29r-jl-RjuhmEK1
ERROR: Youtube Data API does not return anything for playlist PLb0IAmt7-GS3fZ46IGFirdqK
ERROR: Youtube Data API does not return anything for playlist PLGz_X9w9raXcOsB_dT26iu0B
ERROR: Youtube Data API does not return anything for playlist PLkA60AVN3hh9gnrYwNO6zTb9
ERROR: Youtube Data API does not return anything for playlist PLlgxAbM67lYKz_NssZ1DdDwI
ERROR: Youtube Data API does not return anything for playlist PL0CdgOSSGlBYnHAl_DZoy9BW
ERROR: Youtube Data API does not return anything for playlist PLb0IAmt7-GS0M8Q95RIc2lOM

Check what's happening with this playlists, and its videos and decide what to do:

  • Delete the playlist?
  • Unpublish the playlist? (in case its videos are still active but playlist orphan)
@repejota repejota added the bug Something isn't working label Jun 30, 2018
@repejota
Copy link
Member Author

Looks like it is impossible to get the playlist where belongs a video:
https://stackoverflow.com/questions/30344395/find-playlists-containing-a-video-on-youtube

So:

  • We should rely better on channel and do not trust on playlists more than for importing purposes.
  • Channel field on videos will not be deleted, because if the playlist dissapears those videos may be orphaned.
  • In case a playlist produce an error the work to do is to search (manually) the playlist again and update erroring playlist videos on the database with the new playlistId found 😤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant