Notices


Reply
Thread Tools
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#161
Can't play it from the program menu... but running it through terminal with "/usr/bin/python /opt/cutetube/cutetube.py" as user works good.
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 

The Following 2 Users Say Thank You to AlMehdi For This Useful Post:
Posts: 42 | Thanked: 7 times | Joined on Feb 2010
#162
Any link to download and test ??? its not there in extras-devel
 
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#163
Originally Posted by marxian View Post
I've been having problems with the filesystem on my N900. The permissions are set incorrectly on the cutetube.py file, so it won't launch. I'm sorting it out now.
here is the desktop file it works set it like this, open cutetube.desktop on /usr/share/applications/hildon and overwrite and paste all of this


Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=false
Name=cutetube
Exec=/usr/bin/python '/opt/cutetube/cutetube.py'
Icon=cutetube
Type=Application
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
by backterck
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#164
@marxian

Search results were very poor until I made the following changes:

Code:
-- cutetubewindows.py.orig	2010-11-22 22:51:33.000000000 -0800
+++ cutetubewindows.py	2010-11-22 22:52:20.000000000 -0800
@@ -477,10 +477,10 @@
         self.show() 
         searchTerms = self.searchString.replace(" ", "+")
         if username == None:
-            self.videoFeed = "http://gdata.youtube.com/feeds/api/videos?vq=<%22" + searchTerms + "%22>&orderby=" + searchOrder
+            self.videoFeed = "http://gdata.youtube.com/feeds/api/videos?vq=" + searchTerms + "&orderby=" + searchOrder
             self.actionSearch.setVisible(True)
         else:
-            self.videoFeed = "http://gdata.youtube.com/feeds/api/videos?author=" + username + "&vq=<%22" + searchTerms + "%22>&orderby=" + searchOrder
+            self.videoFeed = "http://gdata.youtube.com/feeds/api/videos?author=" + username + "&vq=" + searchTerms + "&orderby=" + searchOrder
 	print 'videoFeed',self.videoFeed
         self.yt = youtubeservice.YouTubeVideoFeed(self, self.videoFeed)
         self.connect(self.yt, SIGNAL("dataLoaded(PyQt_PyObject)"), self.addVideo)
Now search is poppin'!

You rock!
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post:
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#165
since i have updated cutetube it is not working at all !!

i start cute tube it keeps loading for 4-5 sec. and close it self(did not start)
i restart the phone but it is still same. i m not lucky today!
any sguession???
 
Posts: 313 | Thanked: 247 times | Joined on Jan 2010 @ USA
#166
Originally Posted by nicholes View Post
since i have updated cutetube it is not working at all !!

i start cute tube it keeps loading for 4-5 sec. and close it self(did not start)
i restart the phone but it is still same. i m not lucky today!
any sguession???
become root and chmod +x /opt/cutetube/cutetube.py should fix the problem
 

The Following 2 Users Say Thank You to dsawhney For This Useful Post:
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#167
Originally Posted by dsawhney View Post
become root and chmod +x /opt/cutetube/cutetube.py should fix the problem
THANKS for the quick reply!! it is working now.
 
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#168
cutetube 0.9.0-8 now in extras-devel. I had problems with the file system on my N900 last night, and I messed up the permissions on the cutetube.py file.
__________________
'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
 
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#169
maybe still some file permission problems?

I updated to cutetube 0.9.0-8 and it keeps closing randomly BUT if I open it from terminal with command python2.5 cutetube.py it doesn't crash.

.edit
argh i dont now remember that were i root when I run it from cli.
__________________
TMO links: [iSpy] - [Power search] - [Most thanked] - [Cordia - Maemo5 UI on top MeeGo Core] - [CommunitySSU]

Last edited by slender; 2010-11-23 at 10:15.
 

The Following User Says Thank You to slender For This Useful Post:
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#170
I get the same problem. I'll fix it and upload a new build. My head is all over the place atm. Need more sleep.
__________________
'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 2 Users Say Thank You to marxian For This Useful Post:
Reply

Tags
youtube


 
Forum Jump


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