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
add --playlist option #46
Conversation
Wow, thanks! Can I make some suggestions before pulling?
|
you might notice that my import style is different -- feel free to change, but I would recommend moving to this style rather than prefixing everything with |
Looks good. I have some problems when testint it:
Any idea? |
did you regenerate Apologies for not mentioning this in the PR text -- definitely set me back a day to figure it out the first time. |
Oh, of course! Commited, thx very much! |
👏 |
ah, sorry, one last thing: probably worth adding a line to the README. I should have thought of this. |
Good point. 8318a11 |
Rats. I don't know an elegant solution here--my experience rolling python packages is more limited than I would like and relative imports seem a bit rough to me. I would love a scenario where both |
Unfortunately, no idea either what's the way to go, I'll have to check it. SO yields 25 ways of doing it :) |
@tokland looking at it more I think the relative import you've got is the correct way to do it and development should occur through entry points other than main.py |
greeeat! |
pretty simple:
--playlist "playlist title"
will iterate through the user's playlists looking forplaylist title
. If found, the video will be added to it. If not found, the playlist will be created using the privacy settings for the currently-uploading video, then the video will be added to it.