mirror of
https://github.com/Googolplexed0/zotify.git
synced 2026-04-25 14:25:50 +03:00
[GH-ISSUE #121] [Bug Report] Main Branch Accidental Search Filter Trigger #103
Labels
No labels
bug
considering
discussion
documentation
enhancement
enhancement
good first issue
help wanted
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zotify#103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pipedreams8686 on GitHub (Nov 19, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/121
Originally assigned to: @Googolplexed0 on GitHub.
I reinstalled Zotify from this fork yesterday, and having these errors appear when I try and search within Zotify:
Traceback (most recent call last):
File "/Volumes/Home/Users/Home/.local/bin/zotify", line 8, in
sys.exit(main())
~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/main.py", line 119, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 324, in client
search(Printer.get_input('Enter search: '))
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 68, in search
raise IndexError('No parameters passed after option: {}\n'.
format(split))
IndexError: No parameters passed after option: --playlist
I have tried uninstalling and upgrading the packages, not sure what I need to do to fix this, thanks!
@SkilletWarez commented on GitHub (Nov 20, 2025):
What branch did you use?
@pipedreams8686 commented on GitHub (Nov 20, 2025):
I used the instructions for installation from the Googolplexed0 git Zotify page, so I assume the link for installation is the most recent branch?
I did have Zotify (the original version) installed before, so not sure if there might be an issue from that? I did uninstall it first then install this version. It seems like it's a python issue but I have uninstalled and reinstalled/upgraded the packages for python, ffmpeg, pipx etc
thanks
@Googolplexed0 commented on GitHub (Nov 21, 2025):
You are running on the main branch (v0.9.XX).
This is an issue that has been fixed in the
efficient-apibranch, see #84. It had to do with the weird way the main branch handled search query filter tag detection. The new logic in theefficient-apibranch can be found here.@pipedreams8686 commented on GitHub (Nov 22, 2025):
Thank you so much for your help, and your work on this.
I uninstalled Zotify then reinstalled from the efficient-api branch, and it did appear to be working but I got this error trying to download a playlist (sorry, I am sure it is user error!):
Traceback (most recent call last):
File "/Volumes/Home/Users/Home/.local/bin/zotify", line 7, in
sys.exit(main())
~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/main.py", line 140, in main
args.func(args, modes)
~~~~~~~~~^^^^^^^^^^^^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 83, in client
perform_query(args)
~~~~~~~~~~~~~^^^^^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 69, in perform_query
raise e
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 65, in perform_query
search_and_select()
~~~~~~~~~~~~~~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 16, in search_and_select
Query(Zotify.DATETIME_LAUNCH).request(search).execute()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1692, in execute
self.download()
~~~~~~~~~~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1628, in download
skipped = {d for d in self.downloadables if d.check_skippable()}
~~~~~~~~~~~~~~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 886, in check_skippable
super().check_skippable()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 390, in check_skippable
self.mark_downloaded(path)
~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 286, in mark_downloaded
Printer.debug(f"{' > '.join(self.parent_tree)} has Sibling at {' > '.join(sib.parent_tree)}")
~~~~~~~~~~^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, Query found
@Googolplexed0 commented on GitHub (Nov 22, 2025):
Fixed, see #124