flammy / fsapi-remote Goto Github PK
View Code? Open in Web Editor NEWExample Code how to use the fsapi (Frontier Silicon API for PHP)
License: GNU General Public License v2.0
Example Code how to use the fsapi (Frontier Silicon API for PHP)
License: GNU General Public License v2.0
not all buttons are implemented yet.
implement the search function for the list
Hi when I try to run fsapi-remote I get:
Fatal error: Class 'fsapi' not found in /home1/veso266/public_html/hama/fsapi/radio.php on line 75
hope you can fix it
Thanks for Anwsering and Best Regards
PS: Do you think you could make a release with everything included just download into wwwroot
PPS: There is no fsapi.php, radio.php and ssdp.php in fsapi so I took them out of src dir (is this right?)
there is thrown an exeption (config.txt is not writable) if the config.txt does not exist.
This exeption should only be thrown if the file exists.
There should be a new exception e.g. "file could not be written" if adding the new file fails.
Hi
I know that last update was 3 years ago, but maybe you take a look here sometimes :). Your Frontier API looks interesting and might perfectly match my needs.
I tried install your code on Raspbian (Debian 9, stretch, PHP 7). After configuring, the "index.php" fails to load with error as below in Apache error.log:
PHP Fatal error: Uncaught Error: Class 'Radio' not found in /var/www/html/fsapi-remote/src/Backend.php:70\nStack trace:\n#0 /var/www/html/fsapi-remote/src/Backend.php(26): Backend->getActiveRadio(Array)\n#1 /var/www/html/fsapi-remote/index.php(11): Backend->__construct(Object(xajax), Object(Config))\n#2 {main}\n thrown in /var/www/html/fsapi-remote/src/Backend.php on line 70, referer: http://10.11.11.2/fsapi-remote/index.php?setup=true
I'm not a programmer, so I'm unable verify what is going wrong and fix...
Best regards,
Zbyszek K.
Hi,
we bought a device using the fsapi and we think it's very cool to see that someone already started making some cool frontend.
we have installed your project but when we start the page we get this error:
xajax_core.js:145 Uncaught SyntaxError: Unexpected token <
also there's a few bootstrap errors
Keep up the good work!
Hi Flammy,
We decided to use our fsapi enabled radio again.
Now we want to use your nice web interface for fiddling with it.
I saw you changed a lot since last time.
The setup does not automatically dicover our radio.
And if we try to add it manually we get the error "Index not found"
maybe you can show us an example of config.txt so we can create a config manually.
Also when we kind of edit the code and hardcode our radio in the page wont load and only power on / off and the volume buttons work.
we get however after every action an error:
Uncaught SyntaxError: Unexpected token <
xajax.responseProcessor.json @ xajax_core.js:145
xajax.responseReceived @ xajax_core.js:420
oRequest.request.onreadystatechange @ xajax_core.js:383
Would be great to be able to fully use your web interface!
Keep up the good work!
Hello, i get the following error message in browser when accessing index.php (after configured IP and PIN) I got PHP 5.5.2.4. I don't know how to quickly find the line from error message, when the php holds several included files.
Deprecated: Assigning the return value of new by reference is deprecated in /Users/marca/github/fsapi-remote/xajax/xajax_core/xajax.inc.php on line 360
Deprecated: Assigning the return value of new by reference is deprecated in /Users/marca/github/fsapi-remote/xajax/xajax_core/xajax.inc.php on line 1305
Fatal error: Class 'xajaxUserFunction' not found in /Users/marca/github/fsapi-remote/xajax/xajax_core/xajax.inc.php on line 1305
I've moved some nodes into folders to prevent them from being autoloaded and 'GETted' from the radio.
The reason for that is, that some of the nodes contain the 'GET' Method which is not not valid for the mode. Other Nodes come frome a newer API than my device.
Only the firstlevel navigation (Favourites, Channels...) is implemented.
The navigation for sublevels (Folder navigation...) is not implemented yet.
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.