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

bliptv, a small problem #1671

Closed
leachong opened this issue Oct 28, 2013 · 5 comments
Closed

bliptv, a small problem #1671

leachong opened this issue Oct 28, 2013 · 5 comments

Comments

@leachong
Copy link

@leachong leachong commented Oct 28, 2013

In this file: extractor/bliptv.py

This code: upload_date = datetime.datetime.strptime(data['datestamp'], '%m-%d-%y %H:%M%p').strftime('%Y%m%d')

Sometimes will pops up the error info: TypeError: attribute of type 'NoneType' is not callable

I feel those insignificant problem can be ignored. I'm not familiar with python, so i did these:

upload_date = None;
try:
upload_date = datetime.datetime.strptime(data['datestamp'], '%m-%d-%y %H:%M%p').strftime('%Y%m%d')
except Exception:
upload_date = "";

in addition, I'm a UI Developer, i wish the project could package a Library which only return data. When i call the python in the winform, it always pops some mistake, and it will not in the python Gui.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 28, 2013

Could you post the urls that fail?

@leachong
Copy link
Author

@leachong leachong commented Oct 29, 2013

Dear sir, I think there is no need to provide the URL. There has no problem when I run your program in my computer, except for the UI problem occasionally. The UI problem maybe caused by python language environment or the way of calling program with C language.
I really hope dear you could do some improvements to your program like just I adviced before, so that I don't have to modify your python source code every time I do upgrade.
Thank you very much!

@phihag
Copy link
Contributor

@phihag phihag commented Oct 29, 2013

@leachong Please post any blip.tv URL that fails. Otherwise, we cannot find the root cause of the problem you're experiencing.

I'm not sure what you mean by UI or python GUI, and cannot parse it always pops some mistake. In any case, this seems to be unrelated to blip.tv, so please open a new issue (Solving multiple problems in a single GitHub issue tends to get messy). Since you seem to be calling youtube-dl from an external program, you should also mention how you do that (post code please!). Note that youtube-dl does not have any functionality to show anything graphical, so if you're experiencing an incorrect graphical input, this is most likely the fault of the graphical library you're using.

@leachong
Copy link
Author

@leachong leachong commented Oct 30, 2013

Oh!!!!
The mean of "UI" is my GUI application,
You are right. --"this seems to be unrelated to blip.tv"
The UI problem has nothing to do with your programs, it is caused by my python language environment or the way of calling program which I used.
Ah, whether it.........I deleted this code directly~~~

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 2, 2013

I'm closing this then, if you find a any other problem or have any suggestion for making the integration of youtube-dl easier, feel free to open a new issue.

@jaimeMF jaimeMF closed this Nov 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.