Deluge: Choose folder property in the rss to read folder name from

Issue #137 resolved
Layton Whiteley created an issue

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)

  1. Layton Whiteley 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

  2. Log in to comment