Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONOS socket backend error handling #348

Closed
monreal opened this issue Sep 29, 2018 · 3 comments
Closed

SONOS socket backend error handling #348

monreal opened this issue Sep 29, 2018 · 3 comments
Assignees
Labels
SONOS Issue with the SONOS feature
Milestone

Comments

@monreal
Copy link

monreal commented Sep 29, 2018

Expected behavior

Audio playback with latest release

Actual behavior

No audio playback with latest release

Steps to reproduce the behavior

  1. try to play a song

Additional information (optional)

  Error: Call to undefined function OCA\audioplayer\Controller\socket_create()/var/www/html/custom_apps/audioplayer/lib/Controller/SonosController.php - line 169: OCA\audioplayer\Controller\SonosController->discoverDevices()/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 166: OCA\audioplayer\Controller\SonosController->getDeviceList()/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 99: OC\AppFramework\Http\Dispatcher->executeController(OCA\audiopla ... {}, "getDeviceList")/var/www/html/lib/private/AppFramework/App.php - line 118: OC\AppFramework\Http\Dispatcher->dispatch(OCA\audiopla ... {}, "getDeviceList")/var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App::main("OCA\audiop ... r", "getDeviceList", OC\AppFramew ... {}, { _route: "a ... "})OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "a ... "})/var/www/html/lib/private/Route/Router.php - line 297: call_user_func(OC\AppFramew ... {}, { _route: "a ... "})/var/www/html/lib/base.php - line 989: OC\Route\Router->match("/apps/audio ... s")/var/www/html/index.php - line 42: OC::handleRequest()

Server configuration

Operating system: using the latest official Nextcloud docker image
Nextcloud/ownCloud version: 14.0.0
Audio Player version: 2.4.0 (playback used to work fine)
Where did you install Audio Player from? NC App Store
**Are you using external storage? no
Are you using encryption? no
Have you activated other multimedia apps? no
Audio Player media folder: (see Settings) /Music/

Client configuration

Operating system: Fedora 28
Browser: Firefox 63

@Rello
Copy link
Owner

Rello commented Sep 29, 2018

Hello,
this error comes up when you open the user-settings. is this correct?
this function is used to scan for available sonos devices. Did your players show up within the dropdown?

If you don´t have a valid player selected, you should not enable the Sonos-Feature (some error handling there still missing).

please let me know when this issue showed up

@Rello Rello self-assigned this Sep 29, 2018
@Rello Rello added the SONOS Issue with the SONOS feature label Sep 29, 2018
@monreal
Copy link
Author

monreal commented Sep 29, 2018

Thanks for pointing out the Sonos thing! I don't own one and in fact the setting was showing as "off". I then switched it on and off and now the player works fine again.

@monreal
Copy link
Author

monreal commented Sep 29, 2018

Actually, it still doesn't work on my laptop... will have to look deeper tomorrow

@Rello Rello added this to the 2.4.1 milestone Sep 29, 2018
@Rello Rello modified the milestones: 2.4.1, 2.5.0 Dec 3, 2018
@Rello Rello changed the title No audio playback - Call to undefined function OCA\audioplayer\Controller\socket_create() SONOS socket backend error handling Dec 9, 2018
Rello added a commit that referenced this issue Dec 9, 2018
@Rello Rello closed this as completed Dec 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SONOS Issue with the SONOS feature
Projects
None yet
Development

No branches or pull requests

2 participants