-
Notifications
You must be signed in to change notification settings - Fork 28
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
Are design docs available? #206
Comments
As many software this app is not a simple piece of puzzle. There is no design docs, all is in the code itself. So to take the good start, you have to know the app is build using cmake. To design the GUI and all other pieces you should use Qt Creator, then open the CMakeLists.txt with it. Finally you can browse the sources.
|
Is there an API for playing files? I see that noson.cpp registers filestreamer as a broker, but a playurl for "file:///ogg filename" fails. So I assume there must be some other way to invoke it. I'd like to modify noson.cpp so I can feed it a local filename or list of them, and get it/them played. |
The "PLAYURL {URL}" will try to play a file/stream from a remote server. Local URI (file://) has no sense. Launch the CLI (if you haven't noson already launched, it listen on port 1400)
Connect to the Sonos Zone you want to control:
Then play the file using its URL from noson instance:
The form is as follows:
|
"media type" on URLs doesn't seem to work as expected: playurl http://192.168.0.11:1400/music/track.ogg?path=%2Fmnt%2Fsdb%2Fran%2Fmusic%2Fogg%2FAndres_Segovia%2FMy_Favorite_Works%2F01-Albeniz_Sevilla.ogg playurl http://192.168.0.11:1400/music/track.flac?path=%2Fmnt%2Fsdb%2Fran%2Fmusic%2Fogg%2FAndres_Segovia%2FMy_Favorite_Works%2F02-Albeniz_Granada.ogg but nothing plays. STATUS None of the ogg tag info is there. It appears likely that noson tried to treat it as a flac, and just gave up. PLAY But nothing happens. I converted a few tracks to flac, and they seemed to sorta work. But the tags got lost in the conversion, so the status output sucks. And it's not feasible to convert my collection, anyway. Is it possible to create queues and playlists with the CLI? And to make ogg work? Thanks, Ran |
I'd be interested in working on the problems I've encountered, but not in reverse-engineering the system to do it. Are copies of the design documents available?
The text was updated successfully, but these errors were encountered: