sfedotoff / miwifiradio Goto Github PK
View Code? Open in Web Editor NEWWrapper on Xiaomi Mi WiFi Online radio to add functionality for adding own radio stations. Remember to read the instructions first.
Wrapper on Xiaomi Mi WiFi Online radio to add functionality for adding own radio stations. Remember to read the instructions first.
After started docker version, application work, can add radios... all fine, but now how i see changed request links...
example : /live/get_radios_by_ids?access_token=5xxxdf71796bbed9c5b9634fdef46ae&app_key=6b44556xxxxbf8fbbd46c1a9a3&client_os_type=4&device_id=xxxf&ids=2080&nonce=6cv2e3xvmcmdswbhyv
aph3kn32aamus4&pack_id=com.xiaomi.gateway&sdk_version=v6.1.0&server_api_version=1.0.0&sig=xxxx
location /openapi-gateway-app/live/radios {
try_files $uri $uri/ /index.php;
}
location /openapi-gateway-app/search/radios {
try_files $uri $uri/ /index.php;
}
location /openapi-gateway-app/live/get_radios_by_ids {
try_files $uri $uri/ /index.php;
}
location /live/radios {
try_files $uri $uri/ /index.php;
}
location /search/radios {
try_files $uri $uri/ /index.php;
}
location /live/get_radios_by_ids {
try_files $uri $uri/ /index.php;
}
also change index.php:
// Index
header("Location: admin.php");
}elseif($requestParams['requestPath'] == '/openapi-gateway-app/live/radios') {
// Radio search request
include($global_path . 'include/api/radiosearch.php');
} elseif($requestParams['requestPath'] == '/openapi-gateway-app/search/radios') {
// Radio search request
include($global_path . 'include/api/radiosearch.php');
}
elseif($requestParams['requestPath'] == '/openapi-gateway-app/live/get_radios_by_ids') {
// Radio list by ids
include($global_path . 'include/api/get_radios_by_ids.php');
}elseif($requestParams['requestPath'] == '/live/radios') {
// Radio search request
include($global_path . 'include/api/radiosearch.php');
} elseif($requestParams['requestPath'] == '/search/radios') {
// Radio search request
include($global_path . 'include/api/radiosearch.php');
}
elseif($requestParams['requestPath'] == '/live/get_radios_by_ids') {
// Radio list by ids
include($global_path . 'include/api/get_radios_by_ids.php');
after this update now working...
Hi,
I've installed successfully all the wrapper, but when I'm going to add Radio, it tells me that "Radio was added" but there is nothing in the list :(
in the NGINX logs there are no errors.. any hints?
Also the git repository is missing "composer.json" that you have put on the MiForum
Thanks!
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.