bobarr icon indicating copy to clipboard operation
bobarr copied to clipboard

Let users choose the torrent before downloading

Open viranch opened this issue 4 years ago • 6 comments

Great software!

Quick feedback: While downloading some movies and TV shows, Bobarr picked either a torrent with very few seeders or a wrong torrent altogether. It'd be nice to show the Jackett search results (just like the "Replace" popup) after adding a title to the library but before initiating the download. That way the user can pick a particular quality (720p/1080p) and encoding (x264/x265) etc. or just make sure that the torrent is "popular" enough.

viranch avatar Nov 20 '20 07:11 viranch

Hey, @viranch thank you for the suggestion.

This would be pretty difficult to do since bobarr goal is to download without any operations from your side. I would recommend using the "replace" feature even if it just started this will stop the download in progress and change to the one you selected.

What we can do is improve the rule of picking media,

    const sortedByBest = orderBy(
        flattenIndexers,
        ['tag.score', 'quality.score', 'seeders'],
        ['desc', 'desc', 'desc']
      );

Today we sort the results by:

  • tag score matching (match every word)
  • quality score matching (match every word in the title)
  • and then by the number of seeds

So every time it will try to pick the best torrent if there's at least 5 seeders count.

What do you think, how can this rule be improved?

iam4x avatar Dec 07 '20 19:12 iam4x

That sounds like a really good strategy. Not sure why I've run into cases of suboptimal torrents. I don't really have any better suggestion for automatically picking a good torrent.

viranch avatar Dec 11 '20 07:12 viranch

Hi @iam4x, I would like to manually select the torrent too in the jackett results. This is for me a very important feature, automatic choosing won't do it. For some less popular movies, choosing carefully the torrent is mandatory. For now I have forked your work, and commented out the automatic download. Thank you for your work, it looks very promising !

Luxumbra27 avatar Dec 16 '20 10:12 Luxumbra27

I think a very useful option would be to be able to change a series name globally. For instance, looking up "Food Wars! Shokugeki no Soma" yields no results, while looking up "Food wars" does, and several times at that. The solution right now is to manually go through each episode and look up a corresponding torrent, while I think a global name change would make it way easier.

nico-mayora avatar Dec 22 '20 17:12 nico-mayora

Ok, what do you think of having two buttons when adding a movie or tvshow season into library:

  • Add & auto-search
  • Add & manual-search (which will open the modal for searching)

This would be doable pretty easily for movies, but for tvshows this gets complicated you will have to search for a season pack.

iam4x avatar Dec 22 '20 17:12 iam4x

I believe the "add & manual search" is a very good solution for my issue.

For the auto-search issue, changing the movie/tvshow research name could be also a useful feature

  • according to the movie/tvshow bobar could for the french name (YGG) or the english name (TPB etc)
  • it would solve some typo issues (accents, special characters...)
  • get more results for complicated names (like @NicoSwag said)

You could have a new parameter, say search_title that would be by default the same as class Movie { public title!: string;} And have a button to edit the value, so it is used somehow here : public async searchMovie(movieId: number)

Joyeux Noël :-)

Luxumbra27 avatar Dec 23 '20 10:12 Luxumbra27