|
2014-11-22
, 16:16
|
|
Posts: 559 |
Thanked: 1,017 times |
Joined on May 2008
@ Finland
|
#12
|
Updated first post to new yle-dl versions and added a script for viewing Yle channels live.
|
2014-11-22
, 18:04
|
Posts: 230 |
Thanked: 302 times |
Joined on Oct 2009
@ Helsinki, Suomi (Finland)
|
#13
|
The Following User Says Thank You to ladoga For This Useful Post: | ||
|
2014-11-22
, 20:22
|
|
Posts: 559 |
Thanked: 1,017 times |
Joined on May 2008
@ Finland
|
#14
|
The Following User Says Thank You to OVK For This Useful Post: | ||
|
2014-11-22
, 23:50
|
Posts: 230 |
Thanked: 302 times |
Joined on Oct 2009
@ Helsinki, Suomi (Finland)
|
#15
|
OK. Started updating by uninstalling yle-dl. Then tried to install librtmp0_2.4-2_armel.deb but that gives error (invalid package or something like that, message in Finnish is "asennuspaketti ei kelpaa"). Also the other rtmpdump package can't be updated ("already installed from trusted source") so I removed it also. Anyway, currently I am stuck in installing the librtmp0_2.4-2_armel.deb package.
$ devel-su # dpkg -i librtmp0_2.4-2_armel.deb rtmpdump_2.4-2_armel.deb
# apt-get update && apt-get install libssl0.9.8 zlib1g
The Following User Says Thank You to ladoga For This Useful Post: | ||
|
2014-11-25
, 09:13
|
|
Posts: 559 |
Thanked: 1,017 times |
Joined on May 2008
@ Finland
|
#16
|
|
2014-11-27
, 02:30
|
Posts: 230 |
Thanked: 302 times |
Joined on Oct 2009
@ Helsinki, Suomi (Finland)
|
#17
|
OK, managed to get the packages installed (librtmp and rtmpdump needed the root privileges) and yle-dl package extracted but can't figure how to move the script to ~/bin or /usr/local/bin... I usually use FileCase to move the files but it does not have privileges to copy the script to these folders and Xterm seems to missing cp command (what is the copy command in Xterm?).
BTW, if someone else is wondering: the debs are downloaded to the .downloads folder and the yle-dl archive to Downloads folder...
~ $ which cp /bin/cp ~ $ ls -l /bin/cp lrwxrwxrwx 1 root root 7 Jul 3 2012 /bin/cp -> busybox
$ devel-su # cp /home/user/MyDocs/Downloads/yle-dl /usr/local/bin/
~ # pwd /root
The Following User Says Thank You to ladoga For This Useful Post: | ||
|
2014-11-27
, 12:02
|
|
Posts: 559 |
Thanked: 1,017 times |
Joined on May 2008
@ Finland
|
#18
|
Harmattan has cp built into busybox so it should work.
Just to show it's there we can use command which (no need to write unless you're interested):
~/bin/sh: yle-dl: not found
sh: yle-dl: Permission denied
|
2014-11-27
, 14:46
|
Posts: 230 |
Thanked: 302 times |
Joined on Oct 2009
@ Helsinki, Suomi (Finland)
|
#19
|
I just checked it with "help" command which did not show the cp
Anyway, I got the script copied to /usr/local/bin but this seems to not work from there (output iseven if the script definately is there).Code:~/bin/sh: yle-dl: not found
So it seems that the script should be executed from ~/bin. I copied the script also there but now I get error(even if I try to execute script as root which should not be needed).Code:sh: yle-dl: Permission denied
~ $ echo $PATH /home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
$ chmod a+x ~/bin/yle-dl
# chmod a+x /usr/local/bin/yle-dl
The Following User Says Thank You to ladoga For This Useful Post: | ||
|
2015-01-30
, 13:01
|
|
Posts: 559 |
Thanked: 1,017 times |
Joined on May 2008
@ Finland
|
#20
|
Sorry I didn't mention all the details earlier. I use mostly linux so I presumed it was obivious. These are just generic shell commands.
ImportError: No module named Crypto.Cipher