Active Topics

 



Notices


Reply
Thread Tools
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#121
Originally Posted by JamesBond@ge View Post
Can this be installed alongside the original version of Cutetube or does it replace it?

I'd like to keep the original version too.
Installs alongside. Both work.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 

The Following User Says Thank You to uvatbc For This Useful Post:
Banned | Posts: 726 | Thanked: 497 times | Joined on Aug 2010 @ Gravesend, UK
#122
Sweet! Thanks mate!
 
Posts: 31 | Thanked: 23 times | Joined on Feb 2011
#123
After some testing, app cannot download videos which name contain special character for example ". In terminal it outputs info about no write permission. I think it is due to file system (MyDocs partition is vfat, so names of files cannot contain special characters). It can be fixed by changing special chars to _ .

Does someone also noticed it?
 

The Following User Says Thank You to edoiks For This Useful Post:
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#124
Originally Posted by edoiks View Post
After some testing, app cannot download videos which name contain special character for example ". In terminal it outputs info about no write permission. I think it is due to file system (MyDocs partition is vfat, so names of files cannot contain special characters). It can be fixed by changing special chars to _ .

Does someone also noticed it?
The application does already remove special characters from the title, but I may have missed one. Can you give me some examples?

Here's the regex pattern that I'm using:

Code:
video.title.replace(/[@&~=\/:?#|]/g, "_") + ".mp4"
If anyone knows of any characters that I need to add, let me know.
__________________
'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; 2011-04-06 at 23:54.
 

The Following User Says Thank You to marxian For This Useful Post:
Banned | Posts: 726 | Thanked: 497 times | Joined on Aug 2010 @ Gravesend, UK
#125
2 examples of videos that wouldn't download due to quotation marks in the title from the latest original version of Cutetube. I thought the same probably applies to this new version. It does seem to happen nearly always when there is a " " in the title. The downloader just wouldn't start to download these files.

"Kinghuman hates Jesus"



"stepping'


Last edited by JamesBond@ge; 2011-04-07 at 00:11.
 
Posts: 31 | Thanked: 23 times | Joined on Feb 2011
#126
Originally Posted by marxian View Post
The application does already remove special characters from the title, but I may have missed one. Can you give me some examples?

Here's the regex pattern that I'm using:

Code:
video.title.replace(/[@&~=\/:?#|]/g, "_") + ".mp4"
If anyone knows of any characters that I need to add, let me know.
Here is example of video that I couldn't download. The problem is a quotation mark in a title.


http://www.youtube.com/watch?v=3071VQtKEAE
 

The Following 2 Users Say Thank You to edoiks For This Useful Post:
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#127
OK, I did some research on illegal characters in vfat, and I've amended the regex pattern. I'll push an update out shortly (0.2.22).

EDIT: I've tested 0.2.22, and hopefully that issue is sorted now:



I'll make the same change to the Python version tomorrow.
__________________
'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; 2011-04-07 at 00:35.
 

The Following 3 Users Say Thank You to marxian For This Useful Post:
Banned | Posts: 726 | Thanked: 497 times | Joined on Aug 2010 @ Gravesend, UK
#128
Ledge \o/

.
 
Posts: 291 | Thanked: 398 times | Joined on Jan 2011 @ USA
#129
add this \" to the regex would solve the problem.
 
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#130
Originally Posted by khuong View Post
add this \" to the regex would solve the problem.
Already done. Fix is implemented in 0.2.22.

The plugin for adult content, xtube, is now in extras-devel. You will need to wait for the update (at least 0.2.21) to the main application before installing (installing beforehand won't do any harm, but the latest application update is required in order to import the additional JavaScript functions).

After updating and installing xtube, you can search for adult content as follows:

xh: + query - search X Hamster

yj: + query - search YouJizz

__________________
'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; 2011-04-07 at 00:50.
 

The Following 6 Users Say Thank You to marxian For This Useful Post:
Reply

Tags
cutetube, marxian = god, marxian legend, son of a gun, son of douche, son of fail, son of god, youtube


 
Forum Jump


All times are GMT. The time now is 11:57.