sunshavi | when i cp files (videos) from my workstation to phone. phone reboots (probably cos of tracker). Any tricks for avoiding it? | 00:49 |
---|---|---|
sixwheeledbeast | scp? tracker config app is useful for tweaking the settings. confirm your boot reason is watchdog | 00:54 |
sunshavi | yes scp | 01:32 |
sunshavi | swb: ok I am going to see. thanks | 01:32 |
sixwheeledbeast | ~bootreason | 01:59 |
sixwheeledbeast | ~boot-reason | 01:59 |
sixwheeledbeast | hmm | 01:59 |
sixwheeledbeast | ~listkeys reason | 02:22 |
infobot | Factoid search of 'reason' by key (8 of 31): another reason i use redhat ;; eh kennylb's only reason for that ;; for some reason their kill ratio on me ;; for various reasons, pmisfit ;; have a reason for being stuckup ;; i guess it could be another reason. but that ;; in tuxscreen - any reason why there ;; kde3-reason. | 02:22 |
sixwheeledbeast | infobot: bootreason is cat /proc/bootreason also see https://wiki.maemo.org/Troubleshooting_boot_issues#Reporting_reboot_issues for details | 02:26 |
infobot | okay, sixwheeledbeast | 02:26 |
sunshavi | swb: do u use utube-dl for downloading videos for n900? | 02:56 |
sunshavi | i am using this one: https://termbin.com/glyc . But built-in media player is not playing it. How cutube2 downloads it ? | 02:58 |
Maxdamantus | sunshavi: I think I've had decent success using `-f 'mp4[height<=576]+m4a'` | 08:16 |
sunshavi | Maxdamantus: I am going to try it | 08:17 |
sunshavi | Thanks. It works nicely | 08:27 |
sixwheeledbeast | cutetube2 uses it's own qyoutube I believe, it seems to get broken by youtube often. | 09:46 |
sixwheeledbeast | Is that with the latest youtube-dl Maxd? | 09:46 |
sixwheeledbeast | or the one from the maemo repos? | 09:47 |
Maxdamantus | sixwheeledbeast: it's from git. Haven't used the one from maemo repos. | 11:43 |
Maxdamantus | I imagine with youtube-dl you'd usually want to just use git, unless you know that another source is being updated regularly. | 11:44 |
KotCzarny | you can use youtube-dl -U to autoupdate | 11:44 |
Maxdamantus | and it's pretty easy to run from git too—no compilation required, works using maemo's version of Python last I checked. | 11:45 |
Maxdamantus | wonder how `-U` works. | 11:45 |
KotCzarny | downloads from website and replaces on filesystem | 11:46 |
KotCzarny | [root@e6440 11:46:58 /usr/local/bin]# ./youtube-dl -U | 11:46 |
KotCzarny | Updating to version 2020.05.08 ... | 11:46 |
Maxdamantus | Presumably that wouldn't work if it's maintained by a package manager. | 11:47 |
KotCzarny | its a single file | 11:49 |
KotCzarny | with embedded python archive | 11:49 |
KotCzarny | so all it takes is just replacing single file | 11:49 |
KotCzarny | of course package maintained can be a bit faster, because doesnt need to unpack the archive | 11:50 |
Maxdamantus | But people don't want packages that modify their installed program files. | 11:50 |
KotCzarny | and/or precompiled .py into objects | 11:50 |
KotCzarny | in case of youtube-dl it changes often, and dont think package maintainers track all the changes in files | 11:51 |
bencoh | google is a pain with that | 11:51 |
bencoh | and I don't see a good solution to youtube-dl unfortunately :( | 11:52 |
Maxdamantus | Pain with what? | 11:56 |
bencoh | "updating" youtube (breaking scrapers) | 11:57 |
bencoh | I'm wondering if they do it on purpose to be honest | 11:57 |
Maxdamantus | Well, as long as you have a youtube-dl that you can update easily (either because you just downloaded the file and use `-U` or because you just run it from git), it should be okay. | 11:57 |
Maxdamantus | Given that KotCzarny has it in /usr/local/bin, I'm guessing he did the former. | 11:58 |
KotCzarny | -rwxr-xr-x 1 root root 1753976 May 27 11:47 youtube-dl | 11:59 |
bencoh | Yeah, but the fact that we need to keep it uptodate on an almost weekly basis is ... sad | 11:59 |
bencoh | which reminds me | 11:59 |
bencoh | Maxdamantus: I guess you run it in a chroot on n900? | 11:59 |
Maxdamantus | bencoh: yes. I run most custom non-graphical things in a Debian chroot. | 12:00 |
Maxdamantus | Don't really like having to rely on maemo repositories for things. | 12:00 |
bencoh | yeah | 12:00 |
bencoh | it's not exactly a good thing cache-wise, but ... | 12:00 |
KotCzarny | i think the autoupdating version can run on n900 assuming proper python version | 12:00 |
KotCzarny | but it's kinda slow on arm devices | 12:01 |
Maxdamantus | Yeah, I tried youtube-dl once outside the chroot and it seemed to work. I think there was some compatibility issue though with maemo's version of ffmpeg but I suspect there was a workaround for that, can't remember. | 12:01 |
KotCzarny | and i think -U pulls latest release from https://github.com/ytdl-org/youtube-dl/releases | 12:02 |
bencoh | Hmm, I think I built a not-so-old ffmpeg for maemo months ago | 12:02 |
Maxdamantus | 10:19 < Maxdamantus> when I run youtube-dl at the moment, I get an due to the ffmpeg version in maemo not having the "-loglevel" argument. | 12:02 |
KotCzarny | when i build libav, it has some quirks with default gcc, i had to use newer one | 12:05 |
KotCzarny | most likely ffmpeg suffers similar issue | 12:05 |
Maxdamantus | I remember being able to build the latest version of ffmpeg about a year ago in the debian chroot (which itself is quite old—wheezy, now archived) | 12:08 |
Maxdamantus | bencoh: do you still use wheezy in the chroot, or have you got some sort of glibc hack? | 12:09 |
bencoh | Maxdamantus: don't use any chroot | 12:37 |
bencoh | I* | 12:37 |
Maxdamantus | Ah. | 12:42 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!