RaitaroH / adl

🍿 anime scraper/downloader + trackma wrapper
GNU General Public License v3.0
139 stars 15 forks source link

list rewatching, paused and plan to watch #38

Closed khizka closed 2 years ago

khizka commented 2 years ago

Is there any way I can also list these? I don't want to only see my watching list.

RaitaroH commented 2 years ago

Have a look at this and this which explain how you can filter by paused (for example) in trackma. As adl is using the cli version you need something like this to not have to interact with trackma:

printf "filter paused\nls" | trackma

For some reason it seemed that COLUMNS=130 wasn't working, but it does if I add a sed. 2 1 disadvantage with this:

Anyhow here is an example:

printf "filter paused\nls" | COLUMNS=130 trackma | sed 's/\x1b\[[0-9;]*m//g' | sed -n '/^|/,${p;/results/q}' | head -n -1

image

image

@khizka if this is what you are looking for, I can try to implement it fully.

RaitaroH commented 2 years ago

@khizka added the feature.

khizka commented 2 years ago

Thank you so much! I just received the e-mail, sorry I didn't responded earlier, I had a pretty busy month. It's exactly what I needed.