seadve / mousai Goto Github PK
View Code? Open in Web Editor NEWIdentify songs in seconds
License: GNU General Public License v3.0
Identify songs in seconds
License: GNU General Public License v3.0
OS: Manjaro XFCE
Installation method: AUR
Affected Version: 0.6.0 and 0.6.1
Afterwards, it says "No audio detected" and "Please check your audio device". I have a working microphone in my laptop (it works with other apps, e.g. skype), and I also tried an earphone.
When I run from the command line, I get the error
$ mousai
Error: gst-resource-error-quark: Could not open file "/home/archisman/.cache/tmp/mousaitmp.ogg" for writing. (6) ../gstreamer/plugins/elements/gstfilesink.c(471): gst_file_sink_open_file (): /GstPipeline:pipeline0/GstFileSink:filesink0:
system error: Bad file descriptor
Error: gst-core-error-quark: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. (4) ../gstreamer/libs/gst/base/gstbasesink.c(5865): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstFileSink:filesink0:
Failed to start
I cannot say when this issue appeared.
Last time I used the app was in July, and then the issue was absent.
The app works fine if you play a song it recognizes but if you dont play a song or play a song it doesnt recognize it freezes. I imagine it has a timeout where it provides an error but its not working right. I'm on PopOs and I also attached a screen recording with the bug and a neofetch. Im using version 0.6.6 stable branch installed from flatpak. Let me know if there's any other information I should provide. Thank you!
After updating to 0.3.2, I get
(io.github.seadve.Mousai:3808022): Gtk-WARNING **: 11:48:28.278: Could not find the icon 'io.github.seadve.Mousai-ltr
Currently, the icon does not describe the application's functionality very well.
A metaphor could be something like a magnifying glass looking through sound waves or music notes.
Hey,
it would be cool to choose the source for audio recognition. For example, besides recording with microphone, one could also record the system sound directly.
Best regards
Jonas
Could you add option to export songs to .txt file?
I'm pretty sure this is related or even the same issue as #22 but I can't get it to build with meson :(
Traceback (most recent call last):
File "/usr/local/bin/mousai", line 30, in <module>
from mousai import main
File "/usr/local/share/mousai/mousai/main.py", line 18, in <module>
class Application(Adw.Application):
File "/usr/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Adw' object has no attribute 'Application
In this world, there is a wonderful client for Spotify for GNOME called Spot. As I have already notified, AudD API can return the current track position in timecode
JSON entry, so I request an ability to open Spot with the found track and position if possible.
==========
Cross-reference Issue: xou816/spot#463
Shows 'Failed to create element from factory name' when clicken on listen.
After updating to libadwaita 1.0.0-alpha.1, I get
Traceback (most recent call last):
File "/nix/store/sy59jxn8ss9b913vz9pfp9r5r55hlzrp-mousai-0.4.1/share/mousai/mousai/main.py", line 60, in do_activate
win = MainWindow(self.settings, application=self)
File "/nix/store/sy59jxn8ss9b913vz9pfp9r5r55hlzrp-mousai-0.4.1/share/mousai/mousai/widgets/main_window.py", line 52, in __init__
self.load_memory_list()
File "/nix/store/sy59jxn8ss9b913vz9pfp9r5r55hlzrp-mousai-0.4.1/share/mousai/mousai/widgets/main_window.py", line 84, in load_memory_list
self.new_song_row(song.values())
File "/nix/store/sy59jxn8ss9b913vz9pfp9r5r55hlzrp-mousai-0.4.1/share/mousai/mousai/widgets/main_window.py", line 64, in new_song_row
song_row = SongRow(*song)
File "/nix/store/sy59jxn8ss9b913vz9pfp9r5r55hlzrp-mousai-0.4.1/share/mousai/mousai/widgets/song_row.py", line 40, in __init__
self.song_icon.set_image_load_func(self.load_song_icon)
AttributeError: 'Avatar' object has no attribute 'set_image_load_func'
when running mousai
.
Is there an easy way to get access to the song history list outside of the UI? Perhaps via the filesystem (Like text or json stored in a data folder)? I've looked over the code but was unsuccessful in finding an answer since I'm unfamiliar with GTK/Rust. If I understand correctly, I'm trying to find where else I can access Application::default().settings().string("history") from outside of Mousai. Is that possible?
Thanks so much! Mousai is a stellar app!
Currently the description of this is very shy and in my opinion you should add a couple of key points that users will want to know...
On the website of the api:
Music recognition API for both content analysis and in-app music recognition costs from $2 to $5 per 1000 requests. First 300 requests for free.
I think that this sentence should be added in the collapsible menu below your first sentence like this rough example:
I have most likely used the wrong technical term, so I apologize in advance. Also sorry for my english.
Here is the problem
Step to reproduce the issue:
Touch on 3 dots
Expected Behaviour:
3 dots menù is open.
Actual Behaviour:
3 dots menù stay closed (highlited like mouse hover)
If before using the touch screen to open the menu I use the mouse, the subsequent touch events are recorded correctly and the menu works as expected
I think it would be great to have an improved mobile layout with bigger buttons, because this will be a perfect Shazam alternative for mobile Linux phones.
The icon is not transparent when I open it in KDE Plasma, which is weird because the file in /var/lib/flatpak/app/io.github.seadve.Mousai/x86_64/stable/2439ff5c96f580d12a5f28e9b91f24d0055039894be62ef52d9857da935689a8/files/share/icons/hicolor/scalable/apps/io.github.seadve.Mousai.svg
is transparent when I open it manually. Small nitpicky issue, I know. But I just thought I'd do my part by submitting this.
Other information:
OS: Debian GNU/Linux 11 (bullseye) x86_64
Kernel: 5.16.0-0.bpo.4-amd64
DE: Plasma 5.20.5
WM: KWin
Theme: Breeze
Theme: Breeze [Plasma], Breeze [GTK2/3]
Icons: breeze [Plasma], breeze [GTK2/3]
Make the recognized Artist/Title to be copied.
Lika as "artist - title"
currently, we use except Exection, especially on the backend
The GNOME 40 runtime is no longer supported as of March 21, 2022.
I have already installed manually libadwaita 1.0.0alpha2
what happening here?
purism@carlosgonz:~/Documents/Mousai-0.4.4/build$ mousai
Traceback (most recent call last):
File "/usr/local/bin/mousai", line 30, in
from mousai import main
File "/usr/local/share/mousai/mousai/main.py", line 9, in
gi.require_version('Adw', '1')
File "/usr/lib/python3/dist-packages/gi/init.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Adw not available
When trying to recognize a song without an internet connection, the program displays the complete exception and does not display easy-to-recognize information that is happening. If you do not realize if your Internet is not working well or you are disconnected, this can make you feel that the program is not working properly.
Should be fixed in gtk 4.4.2 by settings primary=true
Please check why summary and description texts for Mousai don't translate into the Croatian localized versions at https://apps.gnome.org/hr/ as well as at https://apps.gnome.org/hr/app/io.github.seadve.Mousai/ (it does work for instance for German).
The Croatian translation of the app is complete at Weblate.
The Croatian localized version does work for Kooha (https://apps.gnome.org/hr/app/io.github.seadve.Kooha/)
It would be really nice to be able to use this app on a Linux phone like the Pine phone but the AUR build lists this package as not available for aarch64. Could the aarch64 tag be added to the AUR if it was verified to build correctly?
==> ERROR: mousai is not available for the 'aarch64' architecture
Hi, after running flatpak update, I saw the following:
Info: runtime org.gnome.Platform branch 42 is end-of-life, with reason:
The GNOME 42 runtime is no longer supported as of March 21, 2023. Please ask your application developer to migrate to a supported platform.
Info: applications using this runtime:
io.github.seadve.Mousai
Is it possible to update the runtime? Thanks for your work & great app
Is there a CLI version available?
It should stop when other preview starts playing.
One possible fix is to signal other buttons to stop playing.
Hello there,
I have installed it from flathub, but when I try to run it I get this message:
(io.github.seadve.Mousai:2): Gtk-WARNING **: 20:36:51.392: cannot open display:
I am using Fedora 34 Gnome 40, GTK4.
Thank you.
I get this error:
mousai
Traceback (most recent call last):
File "/usr/sbin/mousai", line 30, in <module>
from mousai import main
File "/usr/share/mousai/mousai/main.py", line 18, in <module>
class Application(Adw.Application):
File "/usr/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Adw' object has no attribute 'Application'
Using Manjaro Gnome and installed it from here https://aur.archlinux.org/packages/mousai
This should also show buffering state like in player
It would be useful to have this project's landing site / website, so any future news articles can link to it and the website would make a better visual representation of the project that could attract more users, developers and contributors.
A simple and free option is via Github Pages, that a lot of github open source projects are using, which Github hosts for any repo on their website.
Hosted directly from your GitHub repository. Just edit, push, and your changes are live.
No databases are needed to be set up and no servers to configure
Repositories that use github pages: Examples
Interesting article: Link
Consider Jekyll. You give it Liquid templates and Markdown content
Free Jekyll templates: https://jekyllthemes.io/free
Installed app as a flatpak, when I click on settings button, this weird ui thing happens.
Specs:
OS: Linux Mint 20.3 x86_64
Kernel: 5.15.0-33-generic
DE: Cinnamon
Graphics:
Device-1: AMD Picasso driver: amdgpu v: kernel bus ID: 07:00.0 chip ID: 1002:15d8
Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa
resolution: 1920x1080~60Hz
OpenGL:
renderer: AMD Radeon Vega 11 Graphics (RAVEN DRM 3.42.0 5.15.0-33-generic LLVM 12.0.0)
v: 4.6 Mesa 21.2.6 direct render: Yes
Flatpak version : 1.12.2
Mousai version : 0.6.6
What worked :
when launching the application with this command AMD_DEBUG=nodcc flatpak run io.github.seadve.Mousai
, everything is working perfectly
Currently when spotify button is clicked, it opens the open.spotify.com link in browser.
First it gets opened in browser, and then you can open it in desktop app via website. This increases number of steps for those having official spotify desktop app.
The desktop app can handle spotify:// URI links. Is there a way that spotify button provides a spotify:// URI instead of open.spotify.com. So, upon clicking Spotify in Mousai, it would directly open in spotify desktop app instead of web browser.
Hey,
it would be cool to use Mousai from the commandline like
mousai --recognize-audio
and it would print the result without using the GUI.
Best regards
Jonas
Hi and thanks for the great app.
I'm using KDE Plasma and even though my gtk theme is breeze-dark , the app uses adwaita light.
I understand if you don't want the UI to be messed up by themes, but could you make it support dark/light themes?
On https://apps.gnome.org/app/io.github.seadve.Mousai/ it doesn't show up any images.
For example: https://apps.gnome.org/assets/screenshots/io.github.seadve.Mousai/Mousai-screenshot2.png says: The image “https://apps.gnome.org/assets/screenshots/io.github.seadve.Mousai/Mousai-screenshot2.png” cannot be displayed because it contains errors.
Using Firefox 91.7.0esr (64-bit)
The simplified Chinese translation not work, please use zh_CN language code instead of zh_Hans.
View this for reference. Thank you.
OS: Fedora Silverblue 35
DE: Gnome Shell 41
Version: 0.56.2
Source dir: /home/anonymous/Mousai
Build dir: /home/anonymous/Mousai/_build
Build type: native build
Project name: mousai
Project version: 0.6.6
Host machine cpu family: x86_64
Host machine cpu: x86_64
WARNING: Gettext not found, all translation targets will be ignored.
data/meson.build:3:0: ERROR: Tried to assign an invalid value to variable.
A full log can be found at /home/anonymous/Mousai/_build/meson-logs/meson-log.txt
ninja: Entering directory `_build'
ninja: error: loading 'build.ninja': No such file or directory
[02:42:13] anonymous@MyCompooter /home/anonymous/Mousai [1]```
What is that GETTEXT? I tried to install some programs containing gettext in their name - it didn't work =(
I switched to Debian, BTW!
Hi. Thank you for so cool project. Please, implement get token like in the Planner https://i.imgur.com/89kKUka.png
Using v0.6.6 from Flathub.
Removing the microphone doesn't seem to fix the issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.