Comments (2)
Since upgrading to Linux Mint 21 (ubuntu 20.04) I'm seeing
DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop()
Seems my Python is now version 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0]
Paul Cornelius says (on StackExchange) "code will run on Python3.10 but as of 3.11 it will be an error to call asyncio.get_event_loop when there is no running loop in the current thread. Since you need loop as an argument, apparently, you must explicitly create and set it.
I tried pasting something like his suggestion, into my script in place of the 'loop = asyncio.get_event_loop()' bit, but just got a TypeError instead...
from shazamio.
Thank you for reporting this, not all examples have it fixed, but here is the corrected version.
from shazamio.
Related Issues (20)
- Failed to build when running pip install HOT 3
- Call recognize on AudioSegment HOT 1
- shazamio.exceptions.FailedDecodeJson: Failed to decode json HOT 2
- `top_country_tracks` does not return tracks
- Youtube URL HOT 1
- Unable to pip install shazamio on macos HOT 2
- Is it possible to query about genre of certain track and artist name
- Realtime recognition by audio frames
- [Feature] Recognize to Rust Language HOT 1
- Can we access the database? HOT 1
- Pydantic compatibility issue HOT 2
- Invalid URL HOT 27
- dependency conflicts. HOT 1
- How to identify multiple songs in a mp4 file?🤔 HOT 2
- Quota or changes to the API recently ? HOT 4
- Does shazamio work with audio playing from URL instead of a file? HOT 1
- Ошибка recognize_song() HOT 7
- How long in seconds can ShazamIO analyze? HOT 3
- SignatureError: end of stream HOT 5
- Getting album from song/artist HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shazamio.