Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I sort by score? #10

Closed
1 task done
Goosegit11 opened this issue Dec 4, 2023 · 15 comments
Closed
1 task done

How do I sort by score? #10

Goosegit11 opened this issue Dec 4, 2023 · 15 comments
Labels
question Further information is requested

Comments

@Goosegit11
Copy link

DO NOT REMOVE OR SKIP THE TEMPLATE

  • I understand that my issue may get closed without notice if I intentionally remove or skip any mandatory* field

Provide a well enough worded question

On rule34 you can place sort:score in tags and it will sort by score.
Ruxx doesn't seem to work with sort:score tag. So how do I do that?

Provide verbose output that demonstrates the problem (use -verbose | Edit -> Verbose log)

No response

@Goosegit11 Goosegit11 added the question Further information is requested label Dec 4, 2023
@trickerer01
Copy link
Owner

You can't override sorting unfortunatelly, only default sorting by ID enables date filter, so it's forced.
Use score tag instead: score:>=500 score:<1000 and so on. Use check button to see the number of posts matching the tags before proceeding if you want. Note that RN uses score tag without colon score>=500.

score

Maybe I could add a check at launch so it's possible to use either date filter or sort tag but not both

@Goosegit11
Copy link
Author

Goosegit11 commented Dec 4, 2023

what are these "modules" - rn rs rx?
as I understand, it's just a strange name for websites

@trickerer01
Copy link
Owner

These are just abbreviations. Website names are only displayed at github home page.

  • RN: rule34hentai.net
  • RX: rule34.xxx
  • RS: rule34.us

@Goosegit11
Copy link
Author

Goosegit11 commented Dec 4, 2023

Okay, thanks

Maybe I could add a check at launch so it's possible to use either date filter or sort tag but not both

Yeah that would be okay, I'll be looking forward to this feature

@trickerer01
Copy link
Owner

3957688

Not sure why you need it so much but here it is

@Goosegit11
Copy link
Author

Goosegit11 commented Dec 10, 2023

There's no new release so I need to compile it manually - but there's no build instructions in README.md
Please consider adding them

upd: forgot that it's a Python project, sorry :-)
so how does it work right now? is there any button/option or what?

@Goosegit11
Copy link
Author

Okay, sort:score works automatically. If you change the date then it wouldn't pass the check.
Looks good to me, thanks 👍

@Goosegit11
Copy link
Author

Wait, I checked and actually the files are not being downloaded in score order

@Goosegit11 Goosegit11 reopened this Dec 10, 2023
@trickerer01
Copy link
Owner

There's no new release so I need to compile it manually - but there's no build instructions in README.md Please consider adding them

upd: forgot that it's a Python project, sorry :-) so how does it work right now? is there any button/option or what?

I use my own build scripts but I'm not very experienced at python project distribution & maintainance so I don't share them. Also contain local paths and custom composed versioninfo for Windows, so - not very good.
But if you want to just build install PyInstaller package it use it on app_gui.py from root folder:

  • python -m PyInstaller src/app_gui.py -F --noupx -c -y -n Ruxx

Note that it will be missing proper icon and revision in title

@trickerer01
Copy link
Owner

Wait, I checked and actually the files are not being downloaded in score order

Tell me what kind of query you're trying to run so it is more clear what changes are requried to make it work

@Goosegit11
Copy link
Author

Cmd: metal_gear_solid -gay -futanari -1animal -horse sort:score -module rx -path '/home/user/Downloads' -threads 8 -timeout 10 -retries 10 -prefix -dump_tags -dump_sources -dump_comments -append_info -warn_nonempty

@trickerer
Copy link
Contributor

Do I understand correctly that idea here is to cancel downloading process at some point, when you decide you've downloaded enough? Is that the purpose of sort:score here?

@Goosegit11
Copy link
Author

Goosegit11 commented Dec 10, 2023

Yes, downloading the needed amount of files. If I specify score:>=500, I don't know how many will be downloaded.

@trickerer01
Copy link
Owner

I always imagined such approach a problem since you risk getting unfinished files and Ruxx tries to delete those when download is cancelled.

Anyway, this change enables download order override using sort tag 6ceaa8d

Also, if you really want the exact number of files downloaded there is actually a max downloads setting which is only exposed in debug mode or if ran using console. Set __RUXX_DEBUG__ flag in app_revision.py to True to enable Debug features menu in GUI or use -dlimit flag in console.

@trickerer01
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants