{"action":"created","issue":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3567","labels_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3567/labels{/name}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3567/comments","events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3567/events","html_url":"https://github.com/qbittorrent/qBittorrent/pull/3567","id":98862122,"number":3567,"title":"[RSS] Several changes in RSSs. Closes #3560","user":{"login":"ngosang","id":10577978,"avatar_url":"https://avatars.githubusercontent.com/u/10577978?v=3","gravatar_id":"","url":"https://api.github.com/users/ngosang","html_url":"https://github.com/ngosang","followers_url":"https://api.github.com/users/ngosang/followers","following_url":"https://api.github.com/users/ngosang/following{/other_user}","gists_url":"https://api.github.com/users/ngosang/gists{/gist_id}","starred_url":"https://api.github.com/users/ngosang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngosang/subscriptions","organizations_url":"https://api.github.com/users/ngosang/orgs","repos_url":"https://api.github.com/users/ngosang/repos","events_url":"https://api.github.com/users/ngosang/events{/privacy}","received_events_url":"https://api.github.com/users/ngosang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-08-04T00:10:37Z","updated_at":"2015-08-30T18:23:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/3567","html_url":"https://github.com/qbittorrent/qBittorrent/pull/3567","diff_url":"https://github.com/qbittorrent/qBittorrent/pull/3567.diff","patch_url":"https://github.com/qbittorrent/qBittorrent/pull/3567.patch"},"body":"* **Handle magnet links as torrents instead of news URLs.**\r\n\r\nCloses #3560. Some RSSs have magnet links in the URL instead of an attached torrent.\r\n* **Trim elements text in RSS articles**\r\n\r\nIf some RSS has this format, the Articles list looks horrible because each element occupies 2 lines and the link doesn't work. Found in #3560 also.\r\n```xml\r\n<item>\r\n<title>\r\nToco-mocho</title>\r\n<link>\r\nmagnet:?xt=urn:btih:7YUK6RY4IPP2LTO..........</link>\r\n....\r\n\r\n```\r\n* **Fix contextual menu in RSS torrents list**\r\n\r\nDisplay the menu only if there are items selected and news URL is not always available (if url = magnet link)\r\n* **Improve error handling when a RSS feed doesn't contains torrents**\r\n\r\nThere are RSS feeds without torrents or magnets which caused problems in the double click download and in the automatic download manager. Obviously we can't download that but we can explain a bit. i.e. https://torrentz.eu/feedA?q=debian%20jessie\r\n* **More precise message and code simplification in RSS feeds deletion**\r\n\r\nThe title says it all.\r\n\r\n* **Don't hide the elements in Unread list when clicked**\r\n\r\nNow the elements are in the list marked as read until you change the selected feed (or reload the Unread list).\r\n\r\n* **Allow multiple selection in RSS torrents list**\r\n\r\nThis allows to download several torrents at the same time. The same for opening the news URLs."},"comment":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/comments/136169160","html_url":"https://github.com/qbittorrent/qBittorrent/pull/3567#issuecomment-136169160","issue_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3567","id":136169160,"user":{"login":"sledgehammer999","id":273315,"avatar_url":"https://avatars.githubusercontent.com/u/273315?v=3","gravatar_id":"","url":"https://api.github.com/users/sledgehammer999","html_url":"https://github.com/sledgehammer999","followers_url":"https://api.github.com/users/sledgehammer999/followers","following_url":"https://api.github.com/users/sledgehammer999/following{/other_user}","gists_url":"https://api.github.com/users/sledgehammer999/gists{/gist_id}","starred_url":"https://api.github.com/users/sledgehammer999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledgehammer999/subscriptions","organizations_url":"https://api.github.com/users/sledgehammer999/orgs","repos_url":"https://api.github.com/users/sledgehammer999/repos","events_url":"https://api.github.com/users/sledgehammer999/events{/privacy}","received_events_url":"https://api.github.com/users/sledgehammer999/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T18:23:30Z","updated_at":"2015-08-30T18:23:30Z","body":">Improve error handling when a RSS feed doesn't contains torrents\r\n\r\nFor the specific case you link we can fix it. Already `file->add torrent link...` dialog accepts only info-hashes. We check if they're valid info-hashes, create a magnet and then add it to the session.\r\nCan you do the same here?\r\nThe relevant code is at `MainWindow::downloadFromURLList()`.\r\n\r\n>Don't hide the elements in Unread list when clicked\r\n\r\nThe code seems ok. But I don't understand what it does UI wise. Can you explain before and after behavior?\r\n\r\n>Allow multiple selection in RSS torrents list\r\n>This allows to **download several torrents** at the same time. The same for opening the news URLs.\r\n\r\nAs far as I know, downloading happens by double clicking. When multiselecting this is impossible. The only item in the context menu is to view the news page.\r\n\r\nAlso, please do the reversed if logic I talked inline.\r\nTorrent downloading is broken for single selection. Double clicking does nothing."}}