Re: [Announce] cuteTube - A feature-rich YouTube client
Quote:
Originally Posted by extendedping
(Post 882438)
Full disclosure, I have not read all 23 pages. Every time I launch the app when I am not connected to the internet (wifi or tmobile) it tells me "unable to sign in to your youtube account". But if I launch the app again right after that (now that I am connected) it signs me in. Also if I manually connect to the internet and then start cutetube it signs me in no issue. seems like somehow when it launches and launches the internet connection it is not giving enough time to log in? I don't know the mechanics but that is the behaviour I am experiencing...
|
I introduced a delay upon startup (of 2000ms) before attempting to sign in to the YouTube account. In my tests, this proved to be sufficient, but it's not scientific and in your case it appears that it isn't long enough. The problem in introducing a longer delay is that the user has to wait until they are signed in before they can access their channel. If a user impatiently clicks the 'My Channel' button upon startup, they will get the 'You are not signed in to YouTube' banner.
The proper solution to your problem would be for me to implement a better communication between DBus and cuteTube, so the application can listen for the signal that the device is connected to the internet before attempting to authenticate. That still leaves the issue of the long waiting time, however.
|