C0D3D3V / Moodle-DL

Moodle-DL downloads course content fast from Moodle (eg. lecture pdfs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot choose which courses to download

BenKraas opened this issue · comments

Avoid duplicates

  • Bug is not already reported in another issue

Describe the bug

In moodle-dl --config
During the first step I don't know how to move up and down between courses.
I can only use Space to disable the first course, however I cannot use - for example - the arrow keys to move the pointer up and down the list. This way, I would download even all those courses which I no longer visit - which is not useful for me.
I could not find any hints as to how to move up and down the list in the documentation.

Cheers, Ben
P.S. Grüße aus der RUB!

Steps to reproduce the issue

Technical details

  • OS: Windows 11

Expected behavior

I should be able to move up and down in the list using arrow keys

Possible Fix

Hi,
Sorry for the long delay. Yes it was a known (windows only) bug, it was introduced by python-readchar in Januar. Because of that one could not use the arrow keys to navigate in the lists. I now added readchar to our repository and modified the failing part... Now we have full control over readchar and it should not fail anymore. Can you try out latest master and tell me if it works. If it works I will make a new Release.

Auch Grüße zurück ^^ Ich sollte wohl mal ein Discord Channel machen damit man sich austauschen kann ohne über github zu kommunizieren.

Thanks for replying though, no problem - in the mean time I manually removed the unwanted courses from the config.json so now the program works like a charm.

I'll try out the new master once I get back from campus today, though I'm quite new to Github and I'll have to find out how that works exactly - unless it just means grabbing the code from a .zip ^^

Klar, gern! Wie sollen wir das angehen? Grüße!

great, yes you can just download the zip, then unzip it and run in the directory python moodle-dl --init or any other argument :D

In principle I already tested it, but in a windows 10 VM.

I now also linked the discord server I created in the readme, if you need help testing the new changes, just write me there.

just fixed in the new release