libera/#maemo/ Wednesday, 2020-05-27

sunshaviwhen i cp files (videos) from my workstation to phone. phone reboots (probably cos of tracker). Any tricks for avoiding it?00:49
sixwheeledbeastscp? tracker config app is useful for tweaking the settings. confirm your boot reason is watchdog00:54
sunshaviyes scp01:32
sunshaviswb: ok I am going to see. thanks01:32
sixwheeledbeast~bootreason01:59
sixwheeledbeast~boot-reason01:59
sixwheeledbeasthmm01:59
sixwheeledbeast~listkeys reason02:22
infobotFactoid 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
sixwheeledbeastinfobot: bootreason is cat /proc/bootreason also see https://wiki.maemo.org/Troubleshooting_boot_issues#Reporting_reboot_issues for details02:26
infobotokay, sixwheeledbeast02:26
sunshaviswb: do u use utube-dl for downloading videos for n900?02:56
sunshavii am using this one: https://termbin.com/glyc . But built-in media player is not playing it. How cutube2 downloads it ?02:58
Maxdamantussunshavi: I think I've had decent success using `-f 'mp4[height<=576]+m4a'`08:16
sunshaviMaxdamantus: I am going to try it08:17
sunshaviThanks. It works nicely08:27
sixwheeledbeastcutetube2 uses it's own qyoutube I believe, it seems to get broken by youtube often.09:46
sixwheeledbeastIs that with the latest youtube-dl Maxd?09:46
sixwheeledbeastor the one from the maemo repos?09:47
Maxdamantussixwheeledbeast: it's from git. Haven't used the one from maemo repos.11:43
MaxdamantusI imagine with youtube-dl you'd usually want to just use git, unless you know that another source is being updated regularly.11:44
KotCzarnyyou can use youtube-dl -U to autoupdate11:44
Maxdamantusand it's pretty easy to run from git too—no compilation required, works using maemo's version of Python last I checked.11:45
Maxdamantuswonder how `-U` works.11:45
KotCzarnydownloads from website and replaces on filesystem11:46
KotCzarny[root@e6440 11:46:58 /usr/local/bin]# ./youtube-dl -U11:46
KotCzarnyUpdating to version 2020.05.08 ...11:46
MaxdamantusPresumably that wouldn't work if it's maintained by a package manager.11:47
KotCzarnyits a single file11:49
KotCzarnywith embedded python archive11:49
KotCzarnyso all it takes is just replacing single file11:49
KotCzarnyof course package maintained can be a bit faster, because doesnt need to unpack the archive11:50
MaxdamantusBut people don't want packages that modify their installed program files.11:50
KotCzarnyand/or precompiled .py into objects11:50
KotCzarnyin case of youtube-dl it changes often, and dont think package maintainers track all the changes in files11:51
bencohgoogle is a pain with that11:51
bencohand I don't see a good solution to youtube-dl unfortunately :(11:52
MaxdamantusPain with what?11:56
bencoh"updating" youtube (breaking scrapers)11:57
bencohI'm wondering if they do it on purpose to be honest11:57
MaxdamantusWell, 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
MaxdamantusGiven 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-dl11:59
bencohYeah, but the fact that we need to keep it uptodate on an almost weekly basis is ... sad11:59
bencohwhich reminds me11:59
bencohMaxdamantus: I guess you run it in a chroot on n900?11:59
Maxdamantusbencoh: yes. I run most custom non-graphical things in a Debian chroot.12:00
MaxdamantusDon't really like having to rely on maemo repositories for things.12:00
bencohyeah12:00
bencohit's not exactly a good thing cache-wise, but ...12:00
KotCzarnyi think the autoupdating version can run on n900 assuming proper python version12:00
KotCzarnybut it's kinda slow on arm devices12:01
MaxdamantusYeah, 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
KotCzarnyand i think -U pulls latest release from https://github.com/ytdl-org/youtube-dl/releases12:02
bencohHmm, I think I built a not-so-old ffmpeg for maemo months ago12:02
Maxdamantus10: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
KotCzarnywhen i build libav, it has some quirks with default gcc, i had to use newer one12:05
KotCzarnymost likely ffmpeg suffers similar issue12:05
MaxdamantusI 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
Maxdamantusbencoh: do you still use wheezy in the chroot, or have you got some sort of glibc hack?12:09
bencohMaxdamantus:  don't use any chroot12:37
bencohI*12:37
MaxdamantusAh.12:42

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!