Comments (3)
For reference, see the commit in my fork here:
main...MartinRied:kenku-fm:feature/allow-cors
from kenku-fm.
bump
from kenku-fm.
Describe the bug
I'm working on Owlbear Rodeo addon for Kenku FM control and can not achieve desirable result without having to do a custom build of Kenku.
I'm facing this bug:
When connecting to my Kenku FM instance from the browser it gives CORS error because there is no cross origin allowed.
To Reproduce
Steps to reproduce the behavior:
Open Kenku FM
Enable Remote control with default settings (127.0.0.1:3333)
Go to https://google.com/
Open developer console
run fetch('http://127.0.0.1:3333/v1/playlist')
Error: Access to fetch at 'http://127.0.0.1:3333/v1/playlist' from origin 'https://www.google.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Expected behavior
Returned list of playlists as specified in documentation
Screenshots
None
Desktop (please complete the following information):
OS: MacOS
Version: Monterey (M1)
Additional context
After I made an adjustment suggested in #62 issue it worked.
Please consider adding flag in setting to allow CORS for integrations.
from kenku-fm.
Related Issues (20)
- [Feature] Select the output audio device instead of using the system's default
- [Feature] Bookmarks API
- Kenku fm open but not able to interact with it
- Zoom functionality in browser
- Request Feature: Link to Playlist ( URL )
- Weird visual glitching
- Javscript error during install
- Yarn install on arm64 linux HOT 2
- [Feature Request] Youtube interface similar to the playlist.
- Auto Skipping Spotify Songs HOT 3
- creaks and micro cuts in sound on V 1.4.2.
- [Feature request] Set song playing in Kenku as voice channel status
- [Feature request] Scene composition
- [Feature] Support for subgroups in a Scene
- [Bug] When using locally built version Spotify rapidly skips songs giving "Spotify can't play this right now" error HOT 2
- [BUG] Echo of my voice HOT 2
- [Feature] Save tabs on exit
- [Feature] Bookmarks folders HOT 1
- [Feature] HTTP Audio Streaming
- [Features] Add and search tracks by tags
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 kenku-fm.