- Notifications
You must be signed in to change notification settings - Fork145
Description
In mid 2022 (probably summer of 2022) I made a small bash script for btplay. Since btplay lacks a progress of the downloaded torrent, I just used the watch command on btfsstat. So the script a) plays something with btplay and b) monitors the download progress for the video file btplay plays. It looks something like this
btplay -p mpv (magnet link here)watch "btfsstat /tmp/btplay-*/ | grep mp4"
Last time I remember using it was on December 2022 that I showcased it to some friend and it worked great.
Today, I decided to do some changes to it and I came accross this error.
$ btplay -p mpv "magnet:?xt=urn:btih:somethingsomethingsomething" btfs: fuse_opt.c:55: fuse_opt_add_arg: Assertion `!args->argv || args->allocated' failed.
Debian testing/unstable x64 and btfs 2.24. According to debian's changelogs, btfs got the upgrade to 2.24 on the 16th of February 2021 and, as you can see below, a binary update for libssl3 compatibility on the 16th of May 2022.
$ zcat /usr/share/doc/btfs/changelog.Debian.amd64.gz btfs (2.24-1+b2) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libssl3 -- amd64 / i386 Build Daemon (x86-csail-01) <buildd_amd64-x86-csail-01@buildd.debian.org> Mon, 16 May 2022 00:07:55 +0000
So, since the package itself has not changed for almost 2 years now, and it is at the exact same version since I wrote my script, what may be the cause?
p.s. Minor question. Can I use btplay like so or it only accepts magnet links and .torrent files stored locally?btplay http://example.com/something.torrent
---edit
As it seems, the error is from btfs itself, so I am changing the title.
$ btfs "magnet:?xt=urn:btih:somethingsomethingsomething" .btfs: fuse_opt.c:55: fuse_opt_add_arg: Assertion `!args->argv || args->allocated' failed.Aborted
I also tried btfs 2.24 on the debian 11 arm64 installation I have on my rpi3b+ and it works with no issues there, so it is definitely some binary update that broke it, but which one?
---re-edit
And this is the change for the first binary update of the package, which was made earlier in 2022.
btfs (2.24-1+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libtorrent-rasterbar2.0 -- amd64 / i386 Build Daemon (x86-ubc-01) <buildd_amd64-x86-ubc-01@buildd.debian.org> Sun, 30 Jan 2022 22:23:01 +0000