- edited description
Deluge: Is it possible to make the folder property in the rss configurable in the deluge view.
Meaning the default property to look for a folder/subfolder name is 'folder'.
However it would be nice to choose which property in the rss feed item I would want to select the folder name from.
PS: Hopefully this folder name is run through a filter to remove unwanted characters
A sample of something ive done before to clean folder names https://runkit.com/lwhiteley/59e75d63e4342d0012d48dcc
Comments (6)
-
reporter -
repo owner - changed status to resolved
This is already available via settings: http://www.shanaproject.com/settings/
Just edit your Folder Format. Is that what you're after?
Also yes - we do do some stripping of characters to try to make sure there are no problems.
-
reporter hmm nah that wasn't what i was after but its fine.
ill have to dabble into coding some deluge plugins :)
What i was really after was something that may be out of scope for this project actually.
For your feed you read the folder name from the folder node in this feed item below.
But for different feeds, the node name may be different
your feed reads from
folder
node<item> <title>Inuyashiki - 1 [1080p][HorribleSubs]</title> <link>https://nyaa.si/view/968351/torrent</link> <description>[HorribleSubs] Inuyashiki - 01 [1080p].mkv</description> <pubDate>Fri, 20 Oct 2017 22:15:39 +1100</pubDate> <guid>https://nyaa.si/view/968351/torrent</guid> <folder>Inuyashiki</folder> </item>
other feed:
tv:show_name
could be used<item> <title>American Housewife 2x04 The Lice Storm 1080p</title> <link>magnet:?sample-magnet</link> <tv:show_id>671</tv:show_id> <tv:external_id>12388</tv:external_id> <tv:show_name>American Housewife</tv:show_name> <tv:episode_id>47229</tv:episode_id> <tv:raw_title>American Housewife S02E04 The Lice Storm 1080p AMZN WEBRip DDP5 1 x264 NTb</tv:raw_title> <tv:info_hash>38C89C1483480F697D1716BB6543AB51F8AE83F9</tv:info_hash> </item>
PS if there's an open source repo with the modifications you made I can start from there. Thanks
-
reporter hmm think i got it .
i created a util that i just need to append to the move completed property
-
repo owner Yeah - as far as I could tell there was no good standard in RSS torrents for specifying anything like a target folder... so I made one up...
The SP deluge plugin is at https://bitbucket.org/Tyris/deluge-yarss-plugin-sp
Fyi, Python already has a built in noop(), you just say "pass"
-
reporter thanks, yea i did get it working.
can clean up the code a bit now
- Log in to comment