Giter Site home page Giter Site logo

fsapi-remote's People

Contributors

flammy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fsapi-remote's Issues

Fatal error: Class 'fsapi' not found

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?)

check file existance before is_writable

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.

Class 'Radio' not found in /var/www/html/fsapi-remote/src/Backend.php

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.

Index.php not loading

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
screen shot 2015-07-23 at 5 02 01 pm

Keep up the good work!

Config not working

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!

Error executing index.php

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

check node methods

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.

  • Check Nodes with wrong Method 'GET'
  • Take care of API-Levels

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.