View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#1159
Originally Posted by datjomp View Post
Nice update!

Some feedback:
Most Recent: YouTube shows the most recent videos, DailyMotion just loading...., Vimeo - No videos found
Same info on most viewed
If i do a search, YouTube and DailyMotion return viewable results but Vimeo does not.

Do I have to have an account on DailyMotion and Vimeo?

Edit: When i did the update only YouTube redirected me to an authentication process. Maybe thatīs why vimoe wonīt list any files.

And what does the facebook token do?
Most viewed and most recent categories are not available on vimeo, as the site does not use these categories, and there is no way of approximating them via the API. I just tested Dailymotion, and it looks like I made a typo somewhere. Vimeo search is working for me, but I think there is a possibility that API calls are restricted to the IP address that was used when registering my application, which would me that the API is useless for installed clients :/. If you would like to help me confirm this, you can do so by uncommenting the line

Code:
console.log(doc.responseText)
in the getVimeoVideos() function, which is line 20 in the following file:

[code]/opt/usr/share/qmltube/qml/qmltube/scripts/vimeo.js[/code/]

If you then run qmltube via the commandline

Code:
/opt/usr/bin/qmltube
you should get the error reported by the vimeo server.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following User Says Thank You to marxian For This Useful Post: