-
Notifications
You must be signed in to change notification settings - Fork 47
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
[BUG] FreeBSD Support #359
Comments
I just published a new version ( |
Oh, that's nice! Thanks for this quick job! I'll let you know when I test the new release. |
It does seem to work, thanks. ❤️ I submitted all the ports i've made to get |
I didn't imagine mov-cli would work on FreeBSD. Nice job ✨ |
Thanks. I think we can port software to FreeBSD that didn't build especially for Linux and not contain hard to solve linuxisms. I'm glad this worked on FreeBSD too. Now, I got youtube thumbnail preview working too. It was easy because required dependency for preview --- mov_cli/dev_cli/preview.py.orig 2024-09-23 11:22:25 UTC
+++ mov_cli/dev_cli/preview.py
@@ -29,7 +29,7 @@ def image(id: str):
def image(id: str):
platform = what_platform()
- if not platform == "Linux" and not platform == "Android":
+ if not platform == "Linux" and not platform == "FreeBSD" and not platform == "Android":
print("Image preview only works on Linux, FreeBSD & Android atm.")
return False
@@ -102,4 +102,4 @@ def slugify(value): # https://github.com/django/django
)
value = re.sub(r"[^\w\s-]", "", value.lower())
- return re.sub(r"[-\s]+", "-", value).strip("-_")
\ No newline at end of file
+ return re.sub(r"[-\s]+", "-", value).strip("-_") |
Thanks, correcting that now |
You are welcome, i can make a PR about it if you want. |
Already created a commit but yeah next time feel free to open a PR instead. |
Could you test the latest commit so I can confirm that it works correctly on FreeBSD. pip install git+https://github.com/mov-cli/mov-cli -U something like that should work to install it |
I tested it and it works but you may want to change the printed text to include dcaa671#diff-b13718547c0203d21f2f39c81b03af1413df8198547883cd411cdd3a5b2c44fbR33 I can update |
I've now released |
Anymore issues, open another git issue and feel free to make a pr. 👍 |
Hi. I do want to make this software and some plugins available in FreeBSD ports tree and I started to port this software within some plugins. Unfortunately,
mov-cli
isn't able to use already installedmpv
on my system. I don't understand python either. Thanks.Describe the bug:
I ran
mov-cli -s youtube not like us
and got those errors after i selected one video.Mov-cli version:
4.4.12
Expected behaviour:
I would like to see mpv running the video that i've wanted because i spend time creating these ports on FreeBSD.
Steps to reproduce:
mov-cli -s youtube not like us
Screenshots:
Logs:
without debug parameter:
debug parameter output:
Platform:
Checklist
Additional info
FreeBSD platform was not available in the code and I added FreeBSD platform myself, maybe this problem caused by my patches. Here are patches applied to
mov-cli
.The text was updated successfully, but these errors were encountered: