Comments (4)
OK. i commented notification_handler()
function and compiled again. Successfully compiled. but if i try to run the executable, i'll get connection refused error:
Edit1: At the end of man page, you said:
EXAMPLE
Connect to “127.0.0.1:16800” using “$$secret$$” token:
env ARIA_RPC_PORT=16800 'ARIA_RPC_SECRET=$$secret$$' aria2t
What's “$$secret$$” token
? And how we can generate one of those?
Edit2: OK. finally i got how to run the server. (Just put this line in a separate terminal)
aria2c --enable-rpc --rpc-listen-all
And run aria2t
in another terminal:
aria2t
Everything seems OK. but if i press a
to add link, it will exit from main window and wait for user input. (Is it the normal behaviour?)
Anyway i put a link and press ENTER. nothing happen!
from aria2t.
Hi! I'm glad you managed to compile it.
Pressing a
opens your $EDITOR
(usually vi, vim, emacs) where you can add files you want to download. One per line. The syntax is similar to what aria2c
uses for its session files.
/path/to/my/file
dir=/tmp
/path/to/another/file
pause=true
from aria2t.
If you usually add downloads from one particular path you can automatize the whole process (either by using aria2c
RPC) or binding some action to A
, like:
~/.config/aria2t/actions/A
:
#!/usr/bin/env bash
printf '%s\n dir='/example/path/to'\n' ~/Downloads/*.torrent >$2
vim $2
# After you have finished editing, the saved file is read by `aria2t` and
# downloads are added. If you do not like vim, you can use geany too,
# or nano or whatever you want. Or better you do not even need to
# open any kind of editor if you think so.
For several other examples take a look at my config if you are interested.
from aria2t.
Hmm. Just now realizing that if you have commented something out that will probably will not work. At the end have you managed to compile it cleanly or have you left that line commented?
from aria2t.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aria2t.