Skip to content

Commit b5ae3ed

Browse files
committed
config: added 'd.data_path' attribute (never empty, unlike 'd.base_path')
1 parent 7f42e73 commit b5ae3ed

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

debian/changelog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ pyrocore (0.5.1) precise; urgency=low
3131
* pyroadmin: added '--create-import' action
3232
* rtorrent config: added 'tagged' view handling
3333
* rtorrent config: 'd.timestamp.downloaded' attribute (thanks @chros73)
34+
* rtorrent config: 'd.data_path' attribute (never empty, unlike 'd.base_path')
3435
* pyroadmin: added '--remove-all-rc-files' option
3536
* UI: Rotate through color schemes with the '~' key
3637
* UI: Rotate through category views using '<' and '>'
@@ -42,7 +43,7 @@ pyrocore (0.5.1) precise; urgency=low
4243
* API: 'connect()' helper for easy interactive use
4344
* API: added 'h.' helper namespace to templating
4445

45-
-- pyroscope <pyroscope.project@gmail.com> Mon, 06 Mar 2017 14:58:45 +0100
46+
-- pyroscope <pyroscope.project@gmail.com> Wed, 15 Mar 2017 22:42:17 +0100
4647

4748
pyrocore (0.4.2) jaunty; urgency=low
4849

src/pyrocore/data/config/rtorrent.d/00-default.rc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ branch=pyro.extended=,\
66
# COMMAND: Return startup time (can be used to calculate uptime)
77
method.insert = startup_time, value|const, $system.time=
88

9+
# COMMAND: Return path to item data (never empty, unlike `d.base_path`)
10+
method.insert = d.data_path, simple,\
11+
"if=(d.is_multi_file), (cat, (d.directory)), (cat, (d.directory), /, (d.name))"
12+
913
# COMMAND: Return path to session file
1014
method.insert = d.session_file, simple, "cat=(session.path), (d.hash), .torrent"
1115

0 commit comments

Comments
 (0)