A bittorrent plugin for VLC.

Overview

vlc-bittorrent (Bittorrent plugin for VLC)

What is this?

With vlc-bittorrent, you can open a .torrent file or magnet link with VLC and stream any media that it contains.

Example usage

$ vlc video.torrent
$ vlc http://example.com/video.torrent
$ vlc https://example.com/video.torrent
$ vlc ftp://example.com/video.torrent
$ vlc "magnet:?xt=urn:btih:...&dn=...&tr=..."
$ vlc "magnet://?xt=urn:btih:...&dn=...&tr=..."

Installing on Debian/Ubuntu

$ sudo apt-get install vlc-plugin-bittorrent

FAQ

Does it upload/share/seed while playing?

Yes. It works as a regular Bittorrent client. It will upload as long as it's playing.

Does it work on Ubuntu/Debian?

Yes!

Does it work on Windows, Mac OS X, Android, Windows RT, iOS, my toaster?

Probably. I have not tested. It should run since libtorrent works on most systems and the plugin is just standard C and C++. Patches are welcome.

Dependencies (on Linux)

  • libtorrent ("libtorrent-rasterbar9" in Ubuntu 18.04)

Building from git on a recent Debian/Ubuntu

$ sudo apt-get install autoconf automake libtool make libvlc-dev libvlccore-dev libtorrent-rasterbar-dev g++
$ git clone https://github.com/johang/vlc-bittorrent.git vlc-bittorrent
$ cd vlc-bittorrent
$ autoreconf -i
$ ./configure --prefix=/tmp/vlc
$ make
$ make install

Then, to load it in VLC player:

$ VLC_PLUGIN_PATH=/tmp/vlc/lib vlc --no-plugins-cache video.torrent
Comments
  • Package for Debian?

    Package for Debian?

    Hi. Are interested in helping out to get this plugin packaged and upldated into Debian? I'm a Debian developer and might assist in making it happen.

    opened by petterreinholdtsen 19
  • Sometimes fail to start (or uses a very long time to get going)

    Sometimes fail to start (or uses a very long time to get going)

    I just tested with 'vlc https://archive.org/download/LoveNest/LoveNest_archive.torrent', and had to try three times before the video would start playing. I removed the temp file after the second time, to see if it helped. Not sure it affected the result, but it did not hurt either.

    opened by petterreinholdtsen 14
  • New release planned?

    New release planned?

    Hi.

    I just noticed several changes since the last release this summer, as well as a build problem with the latest commit, and thought it best to as if a new release is planned soon. I wonder if I should plan for an update in Debian before the freeze.

    opened by petterreinholdtsen 11
  • Cross-compilation issue on Debian Stretch

    Cross-compilation issue on Debian Stretch

    I'm following GNU's manual, executing

    $ ./configure \
        --prefix=/tmp/vlc-win \
        --build=x86_64-linux-gnu \
        --host=x86_64-w64-mingw32 \
        --target=x86_64-w64-mingw32
    
    output
    checking for x86_64-w64-mingw32-g++... x86_64-w64-mingw32-g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.exe
    checking for suffix of executables... .exe
    checking whether we are cross compiling... yes
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether x86_64-w64-mingw32-g++ accepts -g... yes
    checking for gawk... gawk
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking whether make supports nested variables... yes
    checking dependency style of x86_64-w64-mingw32-g++... gcc3
    checking for x86_64-w64-mingw32-pkg-config... no
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for VLC_PLUGIN... yes
    checking for LIBTORRENT... yes
    checking for LIBVLC... yes
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-w64-mingw32
    checking how to print strings... printf
    checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
    checking whether we are using the GNU C compiler... yes
    checking whether x86_64-w64-mingw32-gcc accepts -g... yes
    checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
    checking whether x86_64-w64-mingw32-gcc understands -c and -o together... yes
    checking dependency style of x86_64-w64-mingw32-gcc... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-ld
    checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-w64-mingw32-nm -B
    checking the name lister (/usr/bin/x86_64-w64-mingw32-nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert x86_64-pc-linux-gnu file names to x86_64-w64-mingw32 format... func_convert_file_nix_to_w32
    checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/x86_64-w64-mingw32-ld option to reload object files... -r
    checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
    checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
    checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool
    checking how to associate runtime and link libraries... func_cygming_dll_for_implib
    checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
    checking for archiver @FILE support... @
    checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip
    checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
    checking command to parse /usr/bin/x86_64-w64-mingw32-nm -B output from x86_64-w64-mingw32-gcc object... ok
    checking for sysroot... no
    checking for a working dd... /bin/dd
    checking how to truncate binary pipes... /bin/dd bs=4096 count=1
    checking for x86_64-w64-mingw32-mt... no
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... no
    checking for objdir... .libs
    checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
    checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
    checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
    checking if x86_64-w64-mingw32-gcc static flag -static works... yes
    checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
    checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
    checking whether the x86_64-w64-mingw32-gcc linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... yes
    checking dynamic linker characteristics... Win32 ld.exe
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking how to run the C++ preprocessor... x86_64-w64-mingw32-g++ -E
    checking for ld used by x86_64-w64-mingw32-g++... /usr/bin/x86_64-w64-mingw32-ld
    checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
    checking whether the x86_64-w64-mingw32-g++ linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes
    checking for x86_64-w64-mingw32-g++ option to produce PIC... -DDLL_EXPORT -DPIC
    checking if x86_64-w64-mingw32-g++ PIC flag -DDLL_EXPORT -DPIC works... yes
    checking if x86_64-w64-mingw32-g++ static flag -static works... yes
    checking if x86_64-w64-mingw32-g++ supports -c -o file.o... yes
    checking if x86_64-w64-mingw32-g++ supports -c -o file.o... (cached) yes
    checking whether the x86_64-w64-mingw32-g++ linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes
    checking dynamic linker characteristics... Win32 ld.exe
    checking how to hardcode library paths into programs... immediate
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating test/Makefile
    config.status: creating data/Makefile
    config.status: creating src/config.h
    config.status: src/config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    
    $ make 
    Making all in src
    make[1]: Entering directory '/tmp/vlc-bittorrent/src'
    make  all-am
    make[2]: Entering directory '/tmp/vlc-bittorrent/src'
    /bin/bash ../libtool  --tag=CXX   --mode=compile x86_64-w64-mingw32-g++ -DHAVE_CONFIG_H -I.    -std=c++11 -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/usr/include/vlc/plugins -DTORRENT_DISABLE_LOGGING -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/include/libtorrent -DMODULE_STRING=\"bittorrent\" -g -O2 -MT libaccess_bittorrent_plugin_la-module.lo -MD -MP -MF .deps/libaccess_bittorrent_plugin_la-module.Tpo -c -o libaccess_bittorrent_plugin_la-module.lo `test -f 'module.cpp' || echo './'`module.cpp
    libtool: compile:  x86_64-w64-mingw32-g++ -DHAVE_CONFIG_H -I. -std=c++11 -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/usr/include/vlc/plugins -DTORRENT_DISABLE_LOGGING -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/include/libtorrent -DMODULE_STRING=\"bittorrent\" -g -O2 -MT libaccess_bittorrent_plugin_la-module.lo -MD -MP -MF .deps/libaccess_bittorrent_plugin_la-module.Tpo -c module.cpp  -DDLL_EXPORT -DPIC -o .libs/libaccess_bittorrent_plugin_la-module.o
    In file included from module.cpp:20:0:
    libtorrent.h:7:41: fatal error: libtorrent/torrent_handle.hpp: No such file or directory
     #include <libtorrent/torrent_handle.hpp>
                                             ^
    compilation terminated.
    Makefile:499: recipe for target 'libaccess_bittorrent_plugin_la-module.lo' failed
    make[2]: *** [libaccess_bittorrent_plugin_la-module.lo] Error 1
    make[2]: Leaving directory '/tmp/vlc-bittorrent/src'
    Makefile:378: recipe for target 'all' failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory '/tmp/vlc-bittorrent/src'
    Makefile:400: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1
    

    As you can see, configuration have added -I/usr/include/libtorrent but not /usr/include that is why header can not be resolved.

    opened by koutoftimer 9
  • can not make

    can not make

    How can i install vlc-bittorrent in OpenSuse Thumbleweed? [email protected]:~/vlc-bittorrent> make make: *** Не заданы цели и не найден make-файл. Останов. translate wiyh google from russian: No targets specified and no makefile found. Stop. After rename Makefile.am to Makefile i have next error: [email protected]:~/vlc-bittorrent> make Makefile:3: *** пропущен разделитель. Останов. translate: missing separator. Stop.

    opened by sova32 7
  • Anything to learn from alternative implementation?

    Anything to learn from alternative implementation?

    Hi. A while back, I was told that the author of https://github.com/tguillem/vlc/compare/tr would get in touch with you. Did he? Did you check out the code to see if there is anything to learn from it to improve this plugin?

    opened by petterreinholdtsen 6
  • Seeking in video do not work.

    Seeking in video do not work.

    When trying to play a movie from archive.org, for example https://archive.org/download/LoveNest/LoveNest_archive.torrent, it is impossible to change the video position (aka seeking).

    opened by petterreinholdtsen 6
  • Fail to open magnet links?

    Fail to open magnet links?

    I am unable to find a magnet link that work with this vlc plugin. I've tried several, and none worked.

    The last one I tried, was to convert the torrent available from https://archive.org/download/LoveNest/LoveNest_archive.torrent, which work with this plugin, and convert it to a magnet link using http://www.torrent2magnet.com/ . Still no success. Am I doing it wrong, or is magnet links simply not working?

    opened by petterreinholdtsen 3
  • Remove temporary file when vlc exits?

    Remove temporary file when vlc exits?

    When exiting vlc after playing a torrent, the .parts file is left on disk. Perhaps it is better to remove it when vlc exits, to avoid filling up the disk with temp files?

    opened by petterreinholdtsen 3
  • Doesn't build against vlc 3.0.0 (debian testing)

    Doesn't build against vlc 3.0.0 (debian testing)

    Fails thus:

    metadata.cpp: In function ‘bool read_stream(stream_t*, char**, size_t*)’:
    metadata.cpp:84:19: error: ‘stream_Block’ was not declared in this scope
      block_t *block = stream_Block(p_stream, STREAM_BLOCK_MAX_SIZE);
                       ^~~~~~~~~~~~
    metadata.cpp:84:19: note: suggested alternative: ‘vlc_stream_Block’
      block_t *block = stream_Block(p_stream, STREAM_BLOCK_MAX_SIZE);
                       ^~~~~~~~~~~~
                       vlc_stream_Block
    metadata.cpp: In function ‘void set_playlist(input_item_t*, std::__cxx11::string, std::__cxx11::string, std::vector<s
    td::__cxx11::basic_string<char> >)’:
    metadata.cpp:136:3: error: ‘vlc_gc_decref’ was not declared in this scope
       vlc_gc_decref(p_input);
       ^~~~~~~~~~~~~
    metadata.cpp:136:3: note: suggested alternative: ‘vlc_uri_decode’
       vlc_gc_decref(p_input);
       ^~~~~~~~~~~~~
       vlc_uri_decode
    metadata.cpp:139:2: error: ‘input_item_node_PostAndDelete’ was not declared in this scope
      input_item_node_PostAndDelete(p_subitems);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    metadata.cpp:139:2: note: suggested alternative: ‘input_item_node_Delete’
      input_item_node_PostAndDelete(p_subitems);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      input_item_node_Delete
    
    opened by jkozak 3
  • Torrent with multiple files

    Torrent with multiple files

    When I come across a torrent that contains multiple video/audio files, they get lost in my playlist. Would it be possible to open a new window with the files or create a specific folder in the playlist?

    I was also wondering where I can find the downloaded files on my disk?

    opened by Mediashare 2
  • Syntax error: word unexpected (expecting

    Syntax error: word unexpected (expecting ")") in Void Linux

    when i try to build it. this error comes up

    checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gawk... gawk checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of g++... gcc3 checking for pkg-config... /usr/sbin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for vlc-plugin >= 3.0.0... yes checking for libtorrent-rasterbar >= 1.0.0... yes ./configure: 4038: Syntax error: word unexpected (expecting ")")

    opened by thegarlynch 3
  • configure port used?

    configure port used?

    Hi, I was able to figure out that it is using tcp port 6881, but would it be possible to configure it to use another port? Is there is a config file somewhere? Is this a configuration specific to libtorrent that I should be looking for instead?

    I can't seem to find anywhere to ask other than here, I apologize if this is not the right place.

    opened by aPpYe 2
  • [macOS] All tests fail

    [macOS] All tests fail

    Using information at https://github.com/nurupo/vlc-pause-click-plugin/blob/master/BUILD.md, I was able to get vlc-bittorrent to compile without error on macOS Mojave. Yay! However, I cannot get the plugin to do anything, and when I try make check, all tests fail:

    user$ make check
    
    Making check in src
    Making check in test
    /Applications/Xcode.app/Contents/Developer/usr/bin/make  vlcdummy miniclient downloaddummy
    gcc -DHAVE_CONFIG_H -I. -I../src    -I/Applications/VLC.app/Contents/MacOS/include -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -g -O2 -MT vlcdummy-vlcdummy.o -MD -MP -MF .deps/vlcdummy-vlcdummy.Tpo -c -o vlcdummy-vlcdummy.o `test -f 'vlcdummy.c' || echo './'`vlcdummy.c
    mv -f .deps/vlcdummy-vlcdummy.Tpo .deps/vlcdummy-vlcdummy.Po
    /bin/sh ../libtool  --tag=CC   --mode=link gcc -I/Applications/VLC.app/Contents/MacOS/include -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -g -O2   -o vlcdummy vlcdummy-vlcdummy.o -L/Applications/VLC.app/Contents/MacOS/lib -lvlc 
    libtool: link: gcc -I/Applications/VLC.app/Contents/MacOS/include -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -g -O2 -o vlcdummy vlcdummy-vlcdummy.o  -L/Applications/VLC.app/Contents/MacOS/lib -lvlc
    g++ -DHAVE_CONFIG_H -I. -I../src    -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -MT miniclient-miniclient.o -MD -MP -MF .deps/miniclient-miniclient.Tpo -c -o miniclient-miniclient.o `test -f 'miniclient.cpp' || echo './'`miniclient.cpp
    mv -f .deps/miniclient-miniclient.Tpo .deps/miniclient-miniclient.Po
    /bin/sh ../libtool  --tag=CXX   --mode=link g++ -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11   -o miniclient miniclient-miniclient.o -L/usr/local/Cellar/libtorrent-rasterbar/1.1.11/lib -ltorrent-rasterbar -lboost_system -lpthread 
    libtool: link: g++ -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -o miniclient miniclient-miniclient.o -Wl,-bind_at_load  -L/usr/local/Cellar/libtorrent-rasterbar/1.1.11/lib -ltorrent-rasterbar -lboost_system -lpthread
    g++ -DHAVE_CONFIG_H -I. -I../src    -I../src -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/Users/kenz/Documents/vlc-3.0.6/include -I/Users/kenz/Documents/vlc-3.0.6/include/vlc/plugins -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -MT downloaddummy-downloaddummy.o -MD -MP -MF .deps/downloaddummy-downloaddummy.Tpo -c -o downloaddummy-downloaddummy.o `test -f 'downloaddummy.cpp' || echo './'`downloaddummy.cpp
    mv -f .deps/downloaddummy-downloaddummy.Tpo .deps/downloaddummy-downloaddummy.Po
    g++ -DHAVE_CONFIG_H -I. -I../src    -I../src -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/Users/kenz/Documents/vlc-3.0.6/include -I/Users/kenz/Documents/vlc-3.0.6/include/vlc/plugins -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -MT ../src/downloaddummy-download.o -MD -MP -MF ../src/.deps/downloaddummy-download.Tpo -c -o ../src/downloaddummy-download.o `test -f '../src/download.cpp' || echo './'`../src/download.cpp
    mv -f ../src/.deps/downloaddummy-download.Tpo ../src/.deps/downloaddummy-download.Po
    g++ -DHAVE_CONFIG_H -I. -I../src    -I../src -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/Users/kenz/Documents/vlc-3.0.6/include -I/Users/kenz/Documents/vlc-3.0.6/include/vlc/plugins -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -MT ../src/downloaddummy-libtorrent.o -MD -MP -MF ../src/.deps/downloaddummy-libtorrent.Tpo -c -o ../src/downloaddummy-libtorrent.o `test -f '../src/libtorrent.cpp' || echo './'`../src/libtorrent.cpp
    mv -f ../src/.deps/downloaddummy-libtorrent.Tpo ../src/.deps/downloaddummy-libtorrent.Po
    /bin/sh ../libtool  --tag=CXX   --mode=link g++ -I../src -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/Users/kenz/Documents/vlc-3.0.6/include -I/Users/kenz/Documents/vlc-3.0.6/include/vlc/plugins -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -lpthread  -o downloaddummy downloaddummy-downloaddummy.o ../src/downloaddummy-download.o ../src/downloaddummy-libtorrent.o -L/usr/local/Cellar/libtorrent-rasterbar/1.1.11/lib -ltorrent-rasterbar -lboost_system -L/Applications/VLC.app/Contents/MacOS/lib -lvlccore 
    libtool: link: g++ -I../src -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/Users/kenz/Documents/vlc-3.0.6/include -I/Users/kenz/Documents/vlc-3.0.6/include/vlc/plugins -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -o downloaddummy downloaddummy-downloaddummy.o ../src/downloaddummy-download.o ../src/downloaddummy-libtorrent.o -Wl,-bind_at_load  -lpthread -L/usr/local/Cellar/libtorrent-rasterbar/1.1.11/lib -ltorrent-rasterbar -lboost_system -L/Applications/VLC.app/Contents/MacOS/lib -lvlccore
    /Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
    FAIL: vlcdummy.test 1 # data/flags.torrent
    FAIL: vlcdummy.test 2 # data/nasa1.ogv.torrent
    FAIL: vlcdummy.test 3 # data/nasa.torrent
    FAIL: vlcdummy.test 4 # data/sweden.png.torrent
    FAIL: vlcdummy.test 5 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    FAIL: vlcdummy.test 6 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    FAIL: vlcdummy.test 7 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    FAIL: vlcdummy.test 8 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    FAIL: vlcdummy.test 9 # data/flags.torrent
    FAIL: vlcdummy.test 10 # data/nasa1.ogv.torrent
    FAIL: vlcdummy.test 11 # data/nasa.torrent
    FAIL: vlcdummy.test 12 # data/sweden.png.torrent
    FAIL: vlcdummy.test 13 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    FAIL: vlcdummy.test 14 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    FAIL: vlcdummy.test 15 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    FAIL: vlcdummy.test 16 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    ERROR: vlcdummy.test - exited with status 1
    FAIL: downloaddummy.test 1 # file://./data/flags.torrent
    FAIL: downloaddummy.test 2 # file://./data/nasa1.ogv.torrent
    FAIL: downloaddummy.test 3 # file://./data/nasa.torrent
    FAIL: downloaddummy.test 4 # file://./data/sweden.png.torrent
    FAIL: downloaddummy.test 5 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    FAIL: downloaddummy.test 6 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    FAIL: downloaddummy.test 7 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    FAIL: downloaddummy.test 8 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    FAIL: downloaddummy.test 9 # file://./data/flags.torrent
    FAIL: downloaddummy.test 10 # file://./data/nasa1.ogv.torrent
    FAIL: downloaddummy.test 11 # file://./data/nasa.torrent
    FAIL: downloaddummy.test 12 # file://./data/sweden.png.torrent
    FAIL: downloaddummy.test 13 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    FAIL: downloaddummy.test 14 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    FAIL: downloaddummy.test 15 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    FAIL: downloaddummy.test 16 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    ============================================================================
    Testsuite summary for vlc-plugin-bittorrent 2.6
    ============================================================================
    # TOTAL: 33
    # PASS:  0
    # SKIP:  0
    # XFAIL: 0
    # FAIL:  32
    # XPASS: 0
    # ERROR: 1
    ============================================================================
    See test/test-suite.log
    Please report to [email protected]
    ============================================================================
    make[3]: *** [test-suite.log] Error 1
    make[2]: *** [check-TESTS] Error 2
    make[1]: *** [check-am] Error 2
    make: *** [check-recursive] Error 1
    

    Here's the log file in case it's useful:

    test-suite.log

    ====================================================
       vlc-plugin-bittorrent 2.6: test/test-suite.log
    ====================================================
    
    # TOTAL: 33
    # PASS:  0
    # SKIP:  0
    # XFAIL: 0
    # FAIL:  32
    # XPASS: 0
    # ERROR: 1
    
    .. contents:: :depth: 2
    
    ERROR: vlcdummy
    ===============
    
    1..16
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy data/flags.torrent --print-item --play-item --print-subitems
    # --- data/flags.torrent.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:48.000000000 -0500
    # @@ -1,8 +0,0 @@
    # -VLCDUMMY ITEM flags.torrent
    # -VLCDUMMY STATE flags.torrent OPENING
    # -VLCDUMMY STATE flags.torrent PLAYING
    # -VLCDUMMY SUBITEM /denmark.png
    # -VLCDUMMY SUBITEM /norway.png
    # -VLCDUMMY SUBITEM /sweden.png
    # -VLCDUMMY STATE flags.torrent ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY END
    not ok # data/flags.torrent
    FAIL: vlcdummy.test 1 # data/flags.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ./vlcdummy.test: line 27: 60207 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy data/nasa1.ogv.torrent --print-item --play-item --print-subitems
    # --- data/nasa1.ogv.torrent.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:49.000000000 -0500
    # @@ -1,6 +0,0 @@
    # -VLCDUMMY ITEM nasa1.ogv.torrent
    # -VLCDUMMY STATE nasa1.ogv.torrent OPENING
    # -VLCDUMMY STATE nasa1.ogv.torrent PLAYING
    # -VLCDUMMY SUBITEM nasa1.ogv
    # -VLCDUMMY STATE nasa1.ogv.torrent ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # data/nasa1.ogv.torrent
    FAIL: vlcdummy.test 2 # data/nasa1.ogv.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy data/nasa.torrent --print-item --play-item --print-subitems
    # --- data/nasa.torrent.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:50.000000000 -0500
    # @@ -1,7 +0,0 @@
    # -VLCDUMMY ITEM nasa.torrent
    # -VLCDUMMY STATE nasa.torrent OPENING
    # -VLCDUMMY STATE nasa.torrent PLAYING
    # -VLCDUMMY SUBITEM /nasa2.ogv
    # -VLCDUMMY SUBITEM /nasa3.ogv
    # -VLCDUMMY STATE nasa.torrent ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # data/nasa.torrent
    FAIL: vlcdummy.test 3 # data/nasa.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy data/sweden.png.torrent --print-item --play-item --print-subitems
    # --- data/sweden.png.torrent.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:51.000000000 -0500
    # @@ -1,6 +0,0 @@
    # -VLCDUMMY ITEM sweden.png.torrent
    # -VLCDUMMY STATE sweden.png.torrent OPENING
    # -VLCDUMMY STATE sweden.png.torrent PLAYING
    # -VLCDUMMY SUBITEM sweden.png
    # -VLCDUMMY STATE sweden.png.torrent ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # data/sweden.png.torrent
    FAIL: vlcdummy.test 4 # data/sweden.png.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags --print-item --play-item --print-subitems
    # --- data/flags.torrent-magnet.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:52.000000000 -0500
    # @@ -1,8 +0,0 @@
    # -VLCDUMMY ITEM magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    # -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags OPENING
    # -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags PLAYING
    # -VLCDUMMY SUBITEM /denmark.png
    # -VLCDUMMY SUBITEM /norway.png
    # -VLCDUMMY SUBITEM /sweden.png
    # -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    FAIL: vlcdummy.test 5 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv --print-item --play-item --print-subitems
    # --- data/nasa1.ogv.torrent-magnet.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:53.000000000 -0500
    # @@ -1,6 +0,0 @@
    # -VLCDUMMY ITEM magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    # -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv OPENING
    # -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv PLAYING
    # -VLCDUMMY SUBITEM nasa1.ogv
    # -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv ENDED (0 audio frames, 0 video frames)
    ./vlcdummy.test: line 41: kill: %1: no such job
    # -VLCDUMMY END
    not ok # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    FAIL: vlcdummy.test 6 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa --print-item --play-item --print-subitems
    # --- data/nasa.torrent-magnet.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:54.000000000 -0500
    # @@ -1,7 +0,0 @@
    # -VLCDUMMY ITEM magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    # -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa OPENING
    # -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa PLAYING
    # -VLCDUMMY SUBITEM /nasa2.ogv
    # -VLCDUMMY SUBITEM /nasa3.ogv
    # -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    FAIL: vlcdummy.test 7 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png --print-item --play-item --print-subitems
    # --- data/sweden.png.torrent-magnet.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:55.000000000 -0500
    # @@ -1,6 +0,0 @@
    # -VLCDUMMY ITEM magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    # -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png OPENING
    # -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png PLAYING
    # -VLCDUMMY SUBITEM sweden.png
    # -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    FAIL: vlcdummy.test 8 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy data/flags.torrent --print-item --play-item --print-subitems --play-subitems
    # --- data/flags.torrent.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:56.000000000 -0500
    # @@ -1,17 +0,0 @@
    # -VLCDUMMY ITEM flags.torrent
    # -VLCDUMMY STATE flags.torrent OPENING
    # -VLCDUMMY STATE flags.torrent PLAYING
    # -VLCDUMMY SUBITEM /denmark.png
    # -VLCDUMMY SUBITEM /norway.png
    # -VLCDUMMY SUBITEM /sweden.png
    # -VLCDUMMY STATE flags.torrent ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY STATE /denmark.png OPENING
    # -VLCDUMMY STATE /denmark.png PLAYING
    # -VLCDUMMY STATE /denmark.png ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY STATE /norway.png OPENING
    # -VLCDUMMY STATE /norway.png PLAYING
    # -VLCDUMMY STATE /norway.png ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY STATE /sweden.png OPENING
    # -VLCDUMMY STATE /sweden.png PLAYING
    # -VLCDUMMY STATE /sweden.png ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # data/flags.torrent
    FAIL: vlcdummy.test 9 # data/flags.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy data/nasa1.ogv.torrent --print-item --play-item --print-subitems --play-subitems
    # --- data/nasa1.ogv.torrent.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:57.000000000 -0500
    # @@ -1,9 +0,0 @@
    # -VLCDUMMY ITEM nasa1.ogv.torrent
    # -VLCDUMMY STATE nasa1.ogv.torrent OPENING
    # -VLCDUMMY STATE nasa1.ogv.torrent PLAYING
    # -VLCDUMMY SUBITEM nasa1.ogv
    # -VLCDUMMY STATE nasa1.ogv.torrent ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY STATE nasa1.ogv OPENING
    # -VLCDUMMY STATE nasa1.ogv PLAYING
    # -VLCDUMMY STATE nasa1.ogv ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # data/nasa1.ogv.torrent
    FAIL: vlcdummy.test 10 # data/nasa1.ogv.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy data/nasa.torrent --print-item --play-item --print-subitems --play-subitems
    # --- data/nasa.torrent.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:58.000000000 -0500
    # @@ -1,13 +0,0 @@
    # -VLCDUMMY ITEM nasa.torrent
    # -VLCDUMMY STATE nasa.torrent OPENING
    # -VLCDUMMY STATE nasa.torrent PLAYING
    # -VLCDUMMY SUBITEM /nasa2.ogv
    # -VLCDUMMY SUBITEM /nasa3.ogv
    # -VLCDUMMY STATE nasa.torrent ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY STATE /nasa2.ogv OPENING
    # -VLCDUMMY STATE /nasa2.ogv PLAYING
    # -VLCDUMMY STATE /nasa2.ogv ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY STATE /nasa3.ogv OPENING
    # -VLCDUMMY STATE /nasa3.ogv PLAYING
    # -VLCDUMMY STATE /nasa3.ogv ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # data/nasa.torrent
    FAIL: vlcdummy.test 11 # data/nasa.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy data/sweden.png.torrent --print-item --play-item --print-subitems --play-subitems
    # --- data/sweden.png.torrent.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:56:59.000000000 -0500
    # @@ -1,9 +0,0 @@
    # -VLCDUMMY ITEM sweden.png.torrent
    # -VLCDUMMY STATE sweden.png.torrent OPENING
    # -VLCDUMMY STATE sweden.png.torrent PLAYING
    # -VLCDUMMY SUBITEM sweden.png
    # -VLCDUMMY STATE sweden.png.torrent ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY STATE sweden.png OPENING
    # -VLCDUMMY STATE sweden.png PLAYING
    # -VLCDUMMY STATE sweden.png ENDED (0 audio frames, >0 video frames)
    ./vlcdummy.test: line 41: kill: %1: no such job
    # -VLCDUMMY END
    not ok # data/sweden.png.torrent
    FAIL: vlcdummy.test 12 # data/sweden.png.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags --print-item --play-item --print-subitems --play-subitems
    # --- data/flags.torrent-magnet.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:00.000000000 -0500
    # @@ -1,17 +0,0 @@
    # -VLCDUMMY ITEM magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    # -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags OPENING
    # -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags PLAYING
    # -VLCDUMMY SUBITEM /denmark.png
    # -VLCDUMMY SUBITEM /norway.png
    # -VLCDUMMY SUBITEM /sweden.png
    # -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY STATE /denmark.png OPENING
    # -VLCDUMMY STATE /denmark.png PLAYING
    # -VLCDUMMY STATE /denmark.png ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY STATE /norway.png OPENING
    # -VLCDUMMY STATE /norway.png PLAYING
    # -VLCDUMMY STATE /norway.png ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY STATE /sweden.png OPENING
    # -VLCDUMMY STATE /sweden.png PLAYING
    # -VLCDUMMY STATE /sweden.png ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    FAIL: vlcdummy.test 13 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv --print-item --play-item --print-subitems --play-subitems
    # --- data/nasa1.ogv.torrent-magnet.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:01.000000000 -0500
    # @@ -1,9 +0,0 @@
    # -VLCDUMMY ITEM magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    # -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv OPENING
    # -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv PLAYING
    # -VLCDUMMY SUBITEM nasa1.ogv
    # -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY STATE nasa1.ogv OPENING
    # -VLCDUMMY STATE nasa1.ogv PLAYING
    # -VLCDUMMY STATE nasa1.ogv ENDED (0 audio frames, >0 video frames)
    ./vlcdummy.test: line 41: kill: %1: no such job
    # -VLCDUMMY END
    not ok # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    FAIL: vlcdummy.test 14 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa --print-item --play-item --print-subitems --play-subitems
    # --- data/nasa.torrent-magnet.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:02.000000000 -0500
    # @@ -1,13 +0,0 @@
    # -VLCDUMMY ITEM magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    # -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa OPENING
    # -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa PLAYING
    # -VLCDUMMY SUBITEM /nasa2.ogv
    # -VLCDUMMY SUBITEM /nasa3.ogv
    # -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY STATE /nasa2.ogv OPENING
    # -VLCDUMMY STATE /nasa2.ogv PLAYING
    # -VLCDUMMY STATE /nasa2.ogv ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY STATE /nasa3.ogv OPENING
    # -VLCDUMMY STATE /nasa3.ogv PLAYING
    # -VLCDUMMY STATE /nasa3.ogv ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    FAIL: vlcdummy.test 15 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./vlcdummy magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png --print-item --play-item --print-subitems --play-subitems
    # --- data/sweden.png.torrent-magnet.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:03.000000000 -0500
    # @@ -1,9 +0,0 @@
    # -VLCDUMMY ITEM magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    # -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png OPENING
    # -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png PLAYING
    # -VLCDUMMY SUBITEM sweden.png
    # -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png ENDED (0 audio frames, 0 video frames)
    # -VLCDUMMY STATE sweden.png OPENING
    # -VLCDUMMY STATE sweden.png PLAYING
    # -VLCDUMMY STATE sweden.png ENDED (0 audio frames, >0 video frames)
    # -VLCDUMMY END
    ./vlcdummy.test: line 41: kill: %1: no such job
    not ok # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    FAIL: vlcdummy.test 16 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    ERROR: vlcdummy.test - exited with status 1
    
    FAIL: downloaddummy
    ===================
    
    1..16
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy file://./data/flags.torrent --show-metadata
    # --- data/flags.torrent.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:04.000000000 -0500
    # @@ -1,6 +0,0 @@
    # -DOWNLOADDUMMY NAME flags
    # -DOWNLOADDUMMY INFOHASH 18945a9300abfe4ff2442559bb08b8ddb357c16f
    # -DOWNLOADDUMMY FILE flags/denmark.png 476
    # -DOWNLOADDUMMY FILE flags/norway.png 744
    # -DOWNLOADDUMMY FILE flags/sweden.png 636
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60364 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # file://./data/flags.torrent
    FAIL: downloaddummy.test 1 # file://./data/flags.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy file://./data/nasa1.ogv.torrent --show-metadata
    # --- data/nasa1.ogv.torrent.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:05.000000000 -0500
    # @@ -1,4 +0,0 @@
    # -DOWNLOADDUMMY NAME nasa1.ogv
    # -DOWNLOADDUMMY INFOHASH 8a32f3f6f3c9125da79e29c869122758004ee837
    # -DOWNLOADDUMMY FILE nasa1.ogv 58703
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60375 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # file://./data/nasa1.ogv.torrent
    FAIL: downloaddummy.test 2 # file://./data/nasa1.ogv.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy file://./data/nasa.torrent --show-metadata
    # --- data/nasa.torrent.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:06.000000000 -0500
    # @@ -1,5 +0,0 @@
    # -DOWNLOADDUMMY NAME nasa
    # -DOWNLOADDUMMY INFOHASH 6fa46c9a0bb4eecb837c25845d39c5324be66401
    # -DOWNLOADDUMMY FILE nasa/nasa2.ogv 104050
    # -DOWNLOADDUMMY FILE nasa/nasa3.ogv 88445
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60384 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # file://./data/nasa.torrent
    FAIL: downloaddummy.test 3 # file://./data/nasa.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy file://./data/sweden.png.torrent --show-metadata
    # --- data/sweden.png.torrent.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:08.000000000 -0500
    # @@ -1,4 +0,0 @@
    # -DOWNLOADDUMMY NAME sweden.png
    # -DOWNLOADDUMMY INFOHASH fce002e43ed1159f4612982ce8fcdb9d30e48f1e
    # -DOWNLOADDUMMY FILE sweden.png 636
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60393 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # file://./data/sweden.png.torrent
    FAIL: downloaddummy.test 4 # file://./data/sweden.png.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags --show-metadata
    # --- data/flags.torrent-magnet.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:09.000000000 -0500
    # @@ -1,6 +0,0 @@
    # -DOWNLOADDUMMY NAME flags
    # -DOWNLOADDUMMY INFOHASH 18945a9300abfe4ff2442559bb08b8ddb357c16f
    # -DOWNLOADDUMMY FILE flags/denmark.png 476
    # -DOWNLOADDUMMY FILE flags/norway.png 744
    # -DOWNLOADDUMMY FILE flags/sweden.png 636
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60402 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    FAIL: downloaddummy.test 5 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv --show-metadata
    # --- data/nasa1.ogv.torrent-magnet.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:10.000000000 -0500
    # @@ -1,4 +0,0 @@
    # -DOWNLOADDUMMY NAME nasa1.ogv
    # -DOWNLOADDUMMY INFOHASH 8a32f3f6f3c9125da79e29c869122758004ee837
    # -DOWNLOADDUMMY FILE nasa1.ogv 58703
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60411 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    FAIL: downloaddummy.test 6 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa --show-metadata
    # --- data/nasa.torrent-magnet.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:11.000000000 -0500
    # @@ -1,5 +0,0 @@
    # -DOWNLOADDUMMY NAME nasa
    # -DOWNLOADDUMMY INFOHASH 6fa46c9a0bb4eecb837c25845d39c5324be66401
    # -DOWNLOADDUMMY FILE nasa/nasa2.ogv 104050
    # -DOWNLOADDUMMY FILE nasa/nasa3.ogv 88445
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60420 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    FAIL: downloaddummy.test 7 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png --show-metadata
    # --- data/sweden.png.torrent-magnet.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:12.000000000 -0500
    # @@ -1,4 +0,0 @@
    # -DOWNLOADDUMMY NAME sweden.png
    # -DOWNLOADDUMMY INFOHASH fce002e43ed1159f4612982ce8fcdb9d30e48f1e
    # -DOWNLOADDUMMY FILE sweden.png 636
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60429 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    FAIL: downloaddummy.test 8 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy file://./data/flags.torrent --show-read
    # --- data/flags.torrent.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:13.000000000 -0500
    # @@ -1,4 +0,0 @@
    # -DOWNLOADDUMMY READ 476 0
    # -DOWNLOADDUMMY READ 744 1
    # -DOWNLOADDUMMY READ 636 2
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60438 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # file://./data/flags.torrent
    FAIL: downloaddummy.test 9 # file://./data/flags.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy file://./data/nasa1.ogv.torrent --show-read
    # --- data/nasa1.ogv.torrent.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:14.000000000 -0500
    # @@ -1,2 +0,0 @@
    # -DOWNLOADDUMMY READ 58703 0
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60447 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # file://./data/nasa1.ogv.torrent
    FAIL: downloaddummy.test 10 # file://./data/nasa1.ogv.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy file://./data/nasa.torrent --show-read
    # --- data/nasa.torrent.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:15.000000000 -0500
    # @@ -1,3 +0,0 @@
    # -DOWNLOADDUMMY READ 104050 0
    # -DOWNLOADDUMMY READ 88445 1
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60456 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # file://./data/nasa.torrent
    FAIL: downloaddummy.test 11 # file://./data/nasa.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy file://./data/sweden.png.torrent --show-read
    # --- data/sweden.png.torrent.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:16.000000000 -0500
    # @@ -1,2 +0,0 @@
    # -DOWNLOADDUMMY READ 636 0
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60465 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # file://./data/sweden.png.torrent
    FAIL: downloaddummy.test 12 # file://./data/sweden.png.torrent
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags --show-read
    # --- data/flags.torrent-magnet.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:17.000000000 -0500
    # @@ -1,4 +0,0 @@
    # -DOWNLOADDUMMY READ 476 0
    # -DOWNLOADDUMMY READ 744 1
    # -DOWNLOADDUMMY READ 636 2
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60474 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    FAIL: downloaddummy.test 13 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv --show-read
    # --- data/nasa1.ogv.torrent-magnet.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:18.000000000 -0500
    # @@ -1,2 +0,0 @@
    # -DOWNLOADDUMMY READ 58703 0
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60483 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    FAIL: downloaddummy.test 14 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa --show-read
    # --- data/nasa.torrent-magnet.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:19.000000000 -0500
    # @@ -1,3 +0,0 @@
    # -DOWNLOADDUMMY READ 104050 0
    # -DOWNLOADDUMMY READ 88445 1
    # -DOWNLOADDUMMY END
    ./downloaddummy.test: line 25: 60492 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
    not ok # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    FAIL: downloaddummy.test 15 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
    ~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
    ~/Documents/vlc-bittorrent/test
    ./downloaddummy magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png --show-read
    # --- data/sweden.png.torrent-magnet.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
    # +++ -	2019-02-02 00:57:20.000000000 -0500
    # @@ -1,2 +0,0 @@
    # -DOWNLOADDUMMY READ 636 0
    # -DOWNLOADDUMMY END
    not ok # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    FAIL: downloaddummy.test 16 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
    

    Thoughts?

    opened by kubark42 8
  • Downloads more than it need to play the video

    Downloads more than it need to play the video

    When visiting https://archive.org/details/CaminandesLlamigos with my browser, selecting 'torrent' to start the video streaming, the content of ~/Downloads/vlc-bittorrent/CaminandesLlamigos/ end up like this:

    % du -sh ~/Downloads/vlc-bittorrent/CaminandesLlamigos/*
    116M    ~/Downloads/vlc-bittorrent/CaminandesLlamigos/Caminandes_ Llamigos-1080p.mp4
    10M     ~/Downloads/vlc-bittorrent/CaminandesLlamigos/Caminandes_ Llamigos-1080p.ogv
    31M     ~/Downloads/vlc-bittorrent/CaminandesLlamigos/Caminandes_ Llamigos-1080p.webm
    16K     ~/Downloads/vlc-bittorrent/CaminandesLlamigos/CaminandesLlamigos_meta.sqlite
    4.0K    ~/Downloads/vlc-bittorrent/CaminandesLlamigos/CaminandesLlamigos_meta.xml
    8.0K    ~/Downloads/vlc-bittorrent/CaminandesLlamigos/__ia_thumb.jpg
    %
    

    As you can see, the video is downloaded in several versions, both mp4, webm and ogv. It would be better if the plugin only downloaded the file it intend to play, to save time and bandwidth.

    opened by petterreinholdtsen 3
  • Provide some bittorrent status to users?

    Provide some bittorrent status to users?

    Is it possible to provide some bittorrent status information to the user during playback? For example the number of peers/seeds, download speed, etc. It would be useful for slow starting torrents, to know if they hang or are just slow.

    opened by petterreinholdtsen 6
Owner
Johan Gunnarsson
Johan Gunnarsson
TIP (translate it, please) is a plugin for VLC media player that helps you to study languages by watching videos.

vlc-tip-plugin TIP (translate it, please) is a plugin for VLC media player that helps you to study languages by watching videos. Features The plugin a

Aleksey Koltakov 43 Oct 11, 2022
Hack to allow live streaming from wyze cameras to vlc or mpv on your desktop.

Wyze Cam Live Streaming This is a hack to allow live streaming from a wyze cam on your local network. Installation - New! The simplest fix for wyze ev

null 84 Oct 25, 2022
mpv to vlc converter (for anilabx-lite-windows)

mpv-to-vlc Simple CPP project, created for AniLabX-Lite (requested by @themrlokopoff) Compiling Open project in Visual Studio Select "Release" version

raywave's junk projects 3 Aug 18, 2021
This project demonstrate how to infer and track from a 360 videos by using the dewarper plugin.

Deepstream Dewarper App This project demonstrate how to infer and track from a 360 videos by using the dewarper plugin. Dewarping 360 videos helps to

NVIDIA AI IOT 26 Oct 19, 2022
Vita Recorder is a plugin that allows to record video clips during your play sessions.

Vita Recorder Vita Recorder is a plugin that allows to record video clips during your play sessions. The code is based off VITA2PC at which has been a

Rinnegatamante 22 Nov 8, 2022
A UE4 plugin used ffmpeg library to record/publish game viewport output and in-game audio.

Streaming A UE4 plugin used ffmpeg library to record/publish game viewport output and in-game audio. GPL license beacuse used ffmpeg. Structures GameV

Luo Yu 3 Aug 3, 2022
Free plugin-based video converter

SEZE II Смотреть на русском SEZE is a plugin-based video converter for Windows/Linux. You can write your video filter in C++ (see section "How to make

Ilya Halilov 31 Nov 21, 2022
Plugin for VLC that pauses/plays video on mouse click

Pause Click plugin for VLC VLC plugin that allows you to pause/play a video by clicking on the video image. Can be configured to work nicely with doub

null 667 Nov 29, 2022
TIP (translate it, please) is a plugin for VLC media player that helps you to study languages by watching videos.

vlc-tip-plugin TIP (translate it, please) is a plugin for VLC media player that helps you to study languages by watching videos. Features The plugin a

Aleksey Koltakov 43 Oct 11, 2022
Hack to allow live streaming from wyze cameras to vlc or mpv on your desktop.

Wyze Cam Live Streaming This is a hack to allow live streaming from a wyze cam on your local network. Installation - New! The simplest fix for wyze ev

null 84 Oct 25, 2022
mpv to vlc converter (for anilabx-lite-windows)

mpv-to-vlc Simple CPP project, created for AniLabX-Lite (requested by @themrlokopoff) Compiling Open project in Visual Studio Select "Release" version

raywave's junk projects 3 Aug 18, 2021
BitTorrent DHT library

The files dht.c and dht.h implement the variant of the Kademlia Distributed Hash Table (DHT) used in the Bittorrent network (``mainline'' variant). T

Juliusz Chroboczek 650 Nov 17, 2022
an efficient feature complete C++ bittorrent implementation

libtorrent is an open source C++ library implementing the BitTorrent protocol, along with most popular extensions, making it suitable for real world d

Arvid Norberg 4.2k Nov 22, 2022
libTorrent BitTorrent library

LibTorrent Copyright (C) 2005-2014, Jari Sundell LICENSE GNU GPL, see COPYING. "libtorrent/src/utils/sha_fast.{cc,h}" is originally from the Mozil

Jari Sundell 841 Nov 5, 2022
Tool for inspecting, creating and editing BitTorrent metafiles.

A commandline tool for creating, inspecting and modifying bittorrent metafiles.

null 124 Nov 21, 2022
Transmission is a fast, easy, and free BitTorrent client.

Official Transmission BitTorrent client repository

Transmission 8.1k Nov 23, 2022
This is a collection of tools for creating and manipulating BitTorrent v2 torrent files

torrent tools This is a collection of tools for creating and manipulating BitTorrent v2 torrent files. torrent-new can create hybrid torrents, but the

Arvid Norberg 9 Nov 12, 2022
Transmission is a fast, easy, and free BitTorrent client

About Transmission is a fast, easy, and free BitTorrent client. It comes in several flavors: A native Mac OS X GUI application GTK+ and Qt GUI applica

Bread 101 Nov 27, 2022
qBittorrent - A BitTorrent client in Qt

qBittorrent - A BitTorrent client in Qt Description: qBittorrent is a bittorrent client programmed in C++ / Qt that uses libtorrent (sometimes called

qBittorrent project 18.1k Dec 3, 2022
mini-plugin host as plugin

DISTRHO Ildaeil DISTRHO Ildaeil is mini-plugin host working as a plugin, allowing one-to-one plugin format reusage. Load a VST2 plugin inside a LV2 ho

DISTRHO 56 Nov 22, 2022