求助!!关于RSS的设置
安装都OK了 ,就是卡在Transmission配置killall transmission-daemon
vi /root/.config/transmission-daemon/settings.json
增加两行:
[*]“watch-dir”: “/mnt/disk2/XXX/tor”,
[*] “watch-dir-enabled”: true
复制代码
修改一行:
[*]"trash-original-torrent-files": true,
复制代码
重新运行:transmission-daemon
这里增加了2行代码后就出现这个提示·不知道怎么解决了
JSON parse failed in /root/.config/transmission-daemon/settings.json at pos 2178: STRAY_TOKEN -- remaining text ""watch-dir": "/m"
求高手帮忙撒
看看,等等看 新手持续学习中,感谢楼主发帖{:8_263:} 謝謝分享 看看,等等看 ""watch-dir": "/m"这个增加的一行不对,再检查下 {
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "/mnt/disk1/share/Download",
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/mnt/disk1/share/Download/incomplete",
"incomplete-dir-enabled": false,
"lpd-enabled": false,
"message-level": 2,
"peer-congestion-algorithm": "",
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": false,
"port-forwarding-enabled": true,
"preallocation": 1,
"prefetch-enabled": 1,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{1b08d724e45f9dd104e6d65905002c8a5befe3b5XHc.dNnX",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "",
"rpc-whitelist": "*.*.*.*",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"trash-original-torrent-files": true,
"umask": 0,
"upload-slots-per-torrent": 14,
"utp-enabled": true
“watch-dir”: “/mnt/disk1/share/Download”,
“watch-dir-enabled”: true,
}
我是按照你的方法弄上去的··还是有问题哦 2178行有错误。是不是你刚添加上去的参数?看看路径是否正确。 2178在哪行啊 ?不知道在哪里哦··应该是加上去的2行有问题,不加就没问题·保存都可以的 非一般D豆 发表于 2013-9-15 01:00
2178在哪行啊 ?不知道在哪里哦··应该是加上去的2行有问题,不加就没问题·保存都可以的 ...
很明显的引号不对:
"utp-enabled": true
“watch-dir”: “/mnt/disk1/share/Download”,
“watch-dir-enabled”: true,
还有:"utp-enabled": true后面加个","
“watch-dir-enabled”: true,后面不要","
后面几行改成这样:
"utp-enabled": true,
"watch-dir": "/mnt/disk1/share/Download",
"watch-dir-enabled": true
} 本帖最后由 非一般D豆 于 2013-9-19 07:46 编辑
恩·这个问题解决了 · ·原来问题出在这· ·弄好了这个又有其他问题了 ··
root@Cloud:~# /opt/local/bin/flexget -check
2013-09-19 06:54 INFO manager Tried to read from: /opt/local, /root/.flexget, /root/.config/flexget
2013-09-19 06:54 CRITICAL main Failed to find configuration file heck
2013-09-19 06:54 INFO manager Tried to read from: /opt/local, /root/.flexget, /root/.config/flexget
2013-09-19 06:54 CRITICAL main Failed to find configuration file heck
这个测试的出现了问题 ·不知道是什么情况哦
不知道这个脚本对不对··你有脚本么·上传个来我复制的可能格式错了吧
root@Cloud:~# /opt/local/bin/flexget -test
usage: flexget [-h] [-V] [--bugreport] [--logfile LOGFILE] [-c CONFIG]
[--test] [--check] [--learn] [--no-cache] [--reset] [--cron]
[--db-cleanup] [--cli-config PARAMS] [--doc PLUGIN]
[--movie-queue ]] [--plugins]
[--reset-plugin ] [--stop-waiting NAME]
[--disable-advancement] [--series-begin NAME EP_ID]
[--series ] [--series-forget NAME ]
[--forget-rejected] [--failed] [--clear] [--forget TASK|VALUE]
[--seen VALUE] [--seen-search VALUE]
[--archive ]] [--clear-backlog]
[--discover-now] [--inject TITLE ] [--tail-reset FILE]
[--task TASK[,...]] [--now] [--dl-path PATH]
[--dump [{eval,trace}]] [--dump-config] [--history ]
[--preset NAME] [--try-regexp] [-v] [-s] [--search-plugins]
flexget: error: unrecognized arguments: -test 本帖最后由 宿醉冇醒 于 2013-9-19 12:07 编辑
http://www.gebi1.com/thread-24224-1-1.html
第4步没处理好。config.yml格式要求是非常严格的----我帮你改了下,Rss链接屏蔽了,你自己恢复吧 感谢分享 不懂,学习中,帮顶
页:
[1]