Active Topics

 



Notices


Reply
Thread Tools
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#611
Originally Posted by rajil.s View Post
@marxian,

I know you are aware of the 'sound doesnt work in silent mode' bug. Do you you think you can take the cue from Mediabox to sort that out?
It's a Maemo 5 bug. There is a whitelist of applications that can play audio in silent mode. Any application not on that list will suffer this problem. They claimed to have fixed it for PR 1.3, but obviously they haven't.

There is a workaround whereby you set the application name to 'FMRadio' (which is on the whitelist), but this might mess with some other things in my application, so I need to check it out.
__________________
'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

Last edited by marxian; 2010-12-22 at 21:07.
 
elie-7's Avatar
Posts: 968 | Thanked: 663 times | Joined on Jun 2010 @ Australia (Melbourne/vic) / Lebanon (Zgharta/north)
#612
Originally Posted by sparkorn View Post
please can someone help.
i have the latest version of cutetube but every video i try and download fails and when i press the option to play nothing happens but a black screen .
yeah that use to happen in the old version (0.9-7 i think ), but marixan fixed it all, so are you sure you are running the latest version ?
__________________
rolling down the street, smoking ENDO, sipping on gin and juice
laid back, with my mind on my money and my money on my mind .
 
Posts: 222 | Thanked: 205 times | Joined on Jul 2009 @ Finland
#613
Originally Posted by marxian View Post
The new release has the download threads set to low priority.
You are doing the download in threads? Maybe that is causing the unresponsiveness then, threads are somewhat problematic in Python, especially when used to gain responsiveness.

(One could argue that threads are always a suboptimal solution if single threaded solutions are available)

In a Qt application, you should use QNetworkAccessManager to do the downloads in asynchronous fashion. You can track progress with that as well:

http://doc.qt.nokia.com/4.7-snapshot...wnloadProgress
__________________
'QtDone'. Getting things done (GTD) was never this cheap!

'QmlReddit' reads Reddit!
 
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#614
Originally Posted by vivainio View Post
You are doing the download in threads? Maybe that is causing the unresponsiveness then, threads are somewhat problematic in Python, especially when used to gain responsiveness.

(One could argue that threads are always a suboptimal solution if single threaded solutions are available)

In a Qt application, you should use QNetworkAccessManager to do the downloads in asynchronous fashion. You can track progress with that as well:

http://doc.qt.nokia.com/4.7-snapshot...wnloadProgress
I don't experience any unresponsiveness when downloading. It may take slightly longer to fetch the feed if you have a slow internet connection, but other than that, I don't see any problem.

The only unresponsiveness I get is when the list of items gets quite large. The scrolling becomes a little 'sticky', and it takes a split second longer to respond to screen taps on the list items. I don't know if there's a solution to this. I'm considering reworking the UI using QML in future, so I'll look at this in more detail at that point.
__________________
'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:
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#615
cuteTube 0.9.9-12 is now being uploaded to extras-devel. Audio now works when the device is using the 'silent' profile.
__________________
'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 4 Users Say Thank You to marxian For This Useful Post:
Posts: 222 | Thanked: 205 times | Joined on Jul 2009 @ Finland
#616
Originally Posted by marxian View Post
The only unresponsiveness I get is when the list of items gets quite large. The scrolling becomes a little 'sticky', and it takes a split second longer to respond to screen taps on the list items. I don't know if there's a solution to this. I'm considering reworking the UI using QML in future, so I'll look at this in more detail at that point.
That's weird, I experience huge slowdowns when I have downloads queued. Also, what you describe as split second delays can be up to one second for me. Occasionally, the entire applications completely hangs for several seconds.

QML version of the UI would be nice & responsive, however, that will benefit from using QNetworkAccessManager for downloading as well.
__________________
'QtDone'. Getting things done (GTD) was never this cheap!

'QmlReddit' reads Reddit!
 
natedog400's Avatar
Posts: 294 | Thanked: 62 times | Joined on Mar 2010
#617
Can anyone confirm that cutetube works on 3G as mine isn't?
 
natedog400's Avatar
Posts: 294 | Thanked: 62 times | Joined on Mar 2010
#618
Originally Posted by marxian View Post
cuteTube 0.9.9-12 is now being uploaded to extras-devel. Audio now works when the device is using the 'silent' profile.
Wicked! Plus sign is back, much better than autoloading
Can i request you bring something else back too... The old way of rating a video imo was much better, i also liked the fact that you could see how the video was rated in the thumbnail before actually clicking the video. Kinda gives you a clue as to wether or not its worth watching? Thanks
 
natedog400's Avatar
Posts: 294 | Thanked: 62 times | Joined on Mar 2010
#619
Originally Posted by sparkorn View Post
please can someone help.
i have the latest version of cutetube but every video i try and download fails and when i press the option to play nothing happens but a black screen .
Flick between 3g and wifi and try it because mine won't play either but only on 3g. Hope it gets sorted as i can only use this app when i'm at home
 
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#620
Originally Posted by natedog400 View Post
Wicked! Plus sign is back, much better than autoloading
Can i request you bring something else back too... The old way of rating a video imo was much better, i also liked the fact that you could see how the video was rated in the thumbnail before actually clicking the video. Kinda gives you a clue as to wether or not its worth watching? Thanks
The star-based rating is deprecated, following the introduction of the like/dislike system used by the website. This means that they will eventually get rid of the star ratings completely, so it's better to stick to what I'm using now, otherwise I'll have to change it back again.
__________________
'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:
Reply

Tags
youtube


 
Forum Jump


All times are GMT. The time now is 03:01.