Giter Club home page Giter Club logo

jupii's People

Contributors

carlosgonz0 avatar dashinfantry avatar dikonov avatar eson57 avatar fravaccaro avatar jgibbon avatar mkiol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jupii's Issues

Enhancement: Manual IP Entry

Would it be possible to add the option to manually enter the IP of a DNLA client?

Context: my Kodi is not in the local network and Jupii cannot find it.

Add Option to play YouTube Streams

Currently Jupii supports the following online services:

  • Bandcamp
  • FOSDEM
  • gPodder
  • Icecast
  • SomaFM
  • SoundCloud
  • TuneIn

Would it be possible to also add YouTube into the available services list? There are some live playlists on YouTube around, which would be great to listen to via Jupii. :-)

Thanks a lot for your efforts!

Unable to detect some DLNA players

I have an Internet radio ("Jupiter" platform), which has an extra feature of being an upnp player. I used this functionality with Jupii before and it worked!

However, the current version of Jupii fails to detect this player in the net and I cannot enter it manually.

Facts:

  1. Both the radio(player) and my Jolla phone with Jupii (server) are connected to the same wifi and the same subnet. I can ping the radio from the phone.

  2. I disabled the firewall in the phone and there is no filtration at the router.

  3. Jupii detects other devices. a) My LG TV is seen as a player and Jupii is able to stream to the tv. b) minidlna server at my computer is visible too.

  4. The radio can use other devices, such as the minidlna server at the computer.

  5. The radio sees Jupii as a server, but displays a Connection timeout message, when I try to connect from its end (I repeat that there are no active firewalls in between).

  6. PROBLEM: Jupii completely ignores the radio and never shows it in the list of available devices, even with the Show all devises opton ON.

  7. The radio is rather old and runs the same firmware it used when everything worked (no updates). The Jolla phone has passed through multiple updates of both Sailfish OS and Jupii.

This looks like a regression to me.
Are there any fillters in the code that might reject one player and allow another?

App does not support ELAC-devices (e.g. TechniSat Audiomaster, DigitRadio etc.)

Thank you very much for your great efforts! :-)

Did anybody test the app with TechniSat-devices? They have this ELAC-controller included. In Jupii I can detect and connect TechniSat devices without any problems, but I can not process any further.

As soon as I try to play a specific music file or radio URL, the "waiting" circle at the item will appear, stucks after a few seconds and the app crashes.

Can I provide you some log files anyhow?

HLS support

What an amazing idea with a Dbus API! This basically solves the issue of all other developers having to do their own DLNA integration. (I arrived here from working on a a svtplay.se app for SFOS) However, I can't seem to add a HLS (http://x.y/z.m3u8) stream as an URL. Could you please look in to if that can be made possible?

I have separately verified that the renderer can play it when given the same url i tested with.

Cover/folder images not displayed browsing DLNA media server

this is more a feature request than a bug :)

Browsing music resources in a DLNA Media server would be nice to see the cover/folder icon if present, also would be nice to add the folder (or recursively the folders) directly from the list.

Also the duration would make a nice addition.

Regards
Riccardo

Ubuntu 22.04 italian
Version Jupii 2.14.4 flatpak

Cover missing from flac local file

Playing flacs from a local path does not show the cover, the tag metadata are read correctly.

Cover is OK with mp3 ora aac files.

Regards
Riccardo

Ubuntu 22.04 italian
Version Jupii 2.14.4 flatpak

Sometimes Audio capture doesn't work

Issue occurs since SFOS 3.2.x release.

Workaround is to restart pulse audio server. It can be done with following command executed in the terminal:
systemctl restart pulseaudio --user

Most likely problem is caused by this change in SFOS pulseaudio policy-enforcement module.

"Capture audio output" sometimes doesn't mute phone speakers

As openrepos user Ingvix noticed:

Quite nice though a bit annoying that it doesn't mute phone speakers [โ€ฆ]

Your first guess was

Maybe it is something device-depended? Please check it with only one app opened because sometimes it is a little bit unpredictable from which app audio is captured.

I was able to reproduce this behaviour while testing on the Xperia X,
so I've checked a few more devices. All of those were working well:

Device speaker not muted when streaming:

  • Xperia X

Device speaker correctly muted:

  • Jolla Tablet
  • Gemini PDA (off topic: landscape support would be really awesome for this device ;) )
  • Jolla C
  • Jolla Phone

Tested devices are all on SFOS 3.0.0.8. I've always tested with just one app open, mostly jolla-mediaplayer. It is correctly identified in Jupii's application cover.

This is (a slightly censored) part of the command line output from the Xperia X which I think may be most relevant:

[D] unknown:0 - Muting sink input by moving it to null sink: 9
[D] unknown:0 - Sink input successfully connected
[D] unknown:0 - Updating stream name to name of sink input's client: "jolla-mediaplayer"
[D] unknown:0 - pulseStreamUpdated: QUrl("jupii://pulse?jupii_cookie=FTYeN") "jolla-mediaplayer"
[D] unknown:0 - Pulse-audio stream name updated: QUrl("jupii://pulse?jupii_cookie=FTYeN") "jolla-mediaplayer"
[D] unknown:0 - Pulse-audio subscriptionCallback: "SINK_INPUT CHANGE" 9
[D] unknown:0 - sinkInputInfoCallback:
[D] unknown:0 -   index: 9
[D] unknown:0 -   name: '[TRACK NAME REDACTED]' by '[TRACK ARTIST REDACTED]'
[D] unknown:0 -   client: 34
[D] unknown:0 -   has_volume: 1
[D] unknown:0 -   mute: 0
[D] unknown:0 -   volume.channels: 2
[D] unknown:0 -   volume.values[0]: 15246
[D] unknown:0 -   sample_spec: s16le   44100   2
[D] unknown:0 - Sink is already connected
[D] unknown:0 - Updating stream name to name of sink input's client: "jolla-mediaplayer"
[D] unknown:0 - pulseStreamUpdated: QUrl("jupii://pulse?jupii_cookie=FTYeN") "jolla-mediaplayer"
[D] unknown:0 - Pulse-audio stream name updated: QUrl("jupii://pulse?jupii_cookie=FTYeN") "jolla-mediaplayer"
[W] unknown:0 - QHttpResponse::connectionClosed()
[D] unknown:0 - Pulse HTTP response done
[D] unknown:0 - Removing finished pulse item
[D] unknown:0 - Item removed for id: QUrl("jupii://pulse?jupii_cookie=FTYeN")
[D] unknown:0 - No pulse items so stopping
[D] unknown:0 - Stopping pulse device
[D] unknown:0 - Unmuting sink input by moving it to primary sink: 9
[D] unknown:0 - Disconnecting pulse-audio stream
[D] unknown:0 - >>> requestHandler thread: 0xef4ff390
[D] unknown:0 -   method: "HTTP_GET"
[D] unknown:0 -   URL: "/3Z0hwB8jVVW9SNubNJYcbAoTpGLUhz7CH3xHPJlk0qY"
[D] unknown:0 -   headers: "/3Z0hwB8jVVW9SNubNJYcbAoTpGLUhz7CH3xHPJlk0qY"
[D] unknown:0 -      "accept-charset" : "UTF-8,*;q=0.8"
[D] unknown:0 -      "user-agent" : "Kodi/[VERSION REDACTED]"
[D] unknown:0 -      "range" : "bytes=0-"
[D] unknown:0 -      "host" : "[IP ADRESS REDACTED]:9092"
[D] unknown:0 -      "accept" : "*/*"
[D] unknown:0 - Meta data for QUrl("jupii://pulse") found in cache
[D] unknown:0 - Pulse request handler
[D] unknown:0 - "DLNA.ORG_FLAGS=20c00000000000000000000000000000"
[D] unknown:0 - Sending 200 response and starting streaming
[D] unknown:0 - Starting pulse device
[D] unknown:0 - Starting recording for:
[D] unknown:0 -   sink input: 9 "'[TRACK NAME REDACTED]' by '[TRACK ARTIST REDACTED]'"
[D] unknown:0 -   client: 34 "jolla-mediaplayer"
[D] unknown:0 - Creating new pulse-audio stream connected to sink input
[D] unknown:0 - Muting sink input by moving it to null sink: 9
[D] unknown:0 - Sink input successfully connected
[D] unknown:0 - Updating stream name to name of sink input's client: "jolla-mediaplayer"
[D] unknown:0 - pulseStreamUpdated: QUrl("jupii://pulse?jupii_cookie=FTYeN") "jolla-mediaplayer"
[D] unknown:0 - New item for id: QUrl("jupii://pulse?jupii_cookie=FTYeN")
[D] unknown:0 - Pulse-audio stream name updated: QUrl("jupii://pulse?jupii_cookie=FTYeN") "jolla-mediaplayer"
[D] unknown:0 - changed int: TransportState 2
[D] unknown:0 - changed int: InstanceID 0
[D] unknown:0 - controlableChangedHandler
[D] unknown:0 - New pending controlable signal
[D] unknown:0 - onAvStateChanged
[D] unknown:0 - Update playlist: false
[D] unknown:0 - Update start
[D] unknown:0 - Update is locked

I don't know much about Pulseaudio, but perhaps the null/primary sink can have different ids in some circumstances? Please disregard if this is rubbish. ;)

cheers!

Doesnt find my jellyfin server

I have a jellyfin server, with the DLNA Server tickbox selected. Using BubbleUPNP on android works fine, but Jupii doesnt find it. It does find my Sonos speaker on dlna.

Is there any logs i can provide, or a way to manauly enter a dlna server?

Upmpdcli and radio-browser

There is radio-browser implemented in upmpdcli already and i was able to make it works by installing python pyradios module using pip.
pip install pyradios
Now i can browse radio list and select a station but then I get "item cannot be added" warning popup when I want to add selected station to playlist. What is the reason?

Which Audio Codecs does Jupii support?

When adding online streams into Jupii, they are distributed by their providers in different formats. As far as I know, Jupii does only support the outdated mp3 format, is this correct?

Is it possible to add AAC or even ogg-opus streams as well? :-) It has way better audio quality than mp3 and would just be awesome!

Thank you very much!

Resuming a playlist stop playing the next song

Hello, if you pause a playlist for a long time (15min, probably depending on the DLNA renderer settings), resuming playing start from beginning of track (kinda expected) but stops at every song.

Ubuntu 22.04
Jupii Flatpak 2.14.4

DNLA Renderer: Android BubbleUPNP

Reorder playlist

Hello, would be nice to reorder playing queue, tried with a mix of local,soundcloud and DLNA tunes.

Many thanks in advance

Riccardo

v 2.14.4 Flatpak, Ubuntu 22.04

Unsupported Codec message

The device on the other end is a buffalo nas. Works with linux and android devices.

Media player complains about the jupii code. The logs from jupii don't say much but I get some erros:

Chunk one from juppi.log (excerpt)

[D] 16:20:06.176 0x5b03384020 :0 - Headers: [D] 16:20:06.176 0x5b03384020 :0 - "Content-Type" "image/jpeg" [D] 16:20:06.176 0x5b03384020 :0 - "Content-Language" "en" [D] 16:20:06.177 0x5b03384020 :0 - "Content-Length" "1963" [D] 16:20:06.177 0x5b03384020 :0 - "Date" "Thu, 24 Feb 2022 15:20:04 GMT" [D] 16:20:06.177 0x5b03384020 :0 - "Pragma" "no-cache" [D] 16:20:06.177 0x5b03384020 :0 - "Cache-control" "no-cache" [D] 16:20:06.177 0x5b03384020 :0 - "Connection" "keep-alive" [D] 16:20:06.177 0x5b03384020 :0 - "EXT" "" [D] 16:20:06.177 0x5b03384020 :0 - "Server" "Linux/2.x.x, UPnP/1.0, pvConnect UPnP SDK/1.0, TwonkyMedia UPnP SDK/1.1" [D] 16:20:06.177 0x5b03384020 :0 - Response code: 200 "OK" [D] 16:20:06.177 0x5b03384020 :0 - Saving album art to file [D] 16:20:06.179 0x5b03384020 :0 - final id: QUrl("jupii://upnp/uuid%3A55076f6e-6b79-4d65-64b7-4ce67696f3df/0%241%2411%246975R2378763?jupii_cookie=1S2E7tpQ22") [D] 16:20:06.180 0x5b02cf1830 :0 - addWorkerDone [D] 16:20:06.452 0x5b02cf1830 :0 - Saving current playlist [D] 16:20:06.482 0x5b02cf1830 :0 - onItemsLoaded [D] 16:20:06.482 0x5b02cf1830 :0 - Set empty active URL [D] 16:20:06.482 0x5b02cf1830 :0 - setActiveId: "" [D] 16:20:06.483 0x5b02cf1830 :0 - setActiveItemIndex: -1 -1 [D] 16:20:06.483 0x5b02cf1830 :0 - doUpdate [D] 16:20:06.483 0x5b02cf1830 :0 - updateDirectory [D] 16:20:07.445 0x5b02cf1830 :0 - Update playlist [D] 16:20:08.361 0x5b0325baf0 :0 - ==> new service found [D] 16:20:08.362 0x5b0325baf0 :0 - Device| type: "urn:schemas-upnp-org:device:InternetGatewayDevice:1" friendly name: "Compal Broadband Networks, Inc CH6640" [D] 16:20:08.362 0x5b0325baf0 :0 - Service| type: "urn:schemas-upnp-org:service:Layer3Forwarding:1" [D] 16:20:08.363 0x5b0325baf0 :0 - ==> new service found [D] 16:20:08.364 0x5b0325baf0 :0 - Device| type: "urn:schemas-upnp-org:device:WANConnectionDevice:1" friendly name: "Compal Broadband Networks, Inc CH6640" [D] 16:20:08.364 0x5b0325baf0 :0 - Service| type: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" [D] 16:20:08.364 0x5b0325baf0 :0 - ==> new service found [D] 16:20:08.364 0x5b0325baf0 :0 - Device| type: "urn:schemas-upnp-org:device:WANConnectionDevice:1" friendly name: "Compal Broadband Networks, Inc CH6640" [D] 16:20:08.364 0x5b0325baf0 :0 - Service| type: "urn:schemas-upnp-org:service:WANIPConnection:1" [D] 16:20:08.364 0x5b0325baf0 :0 - ==> new service found [D] 16:20:08.365 0x5b0325baf0 :0 - Device| type: "urn:schemas-upnp-org:device:MediaServer:1" friendly name: "Jupii (Volla Phone)" [D] 16:20:08.365 0x5b0325baf0 :0 - Service| type: "urn:schemas-upnp-org:service:ContentDirectory:1" [D] 16:20:08.365 0x5b0325baf0 :0 - ==> new service found [D] 16:20:08.366 0x5b0325baf0 :0 - Device| type: "urn:schemas-upnp-org:device:MediaServer:1" friendly name: "Jupii (Volla Phone)" [D] 16:20:08.366 0x5b0325baf0 :0 - Service| type: "urn:schemas-upnp-org:service:ConnectionManager:1" [D] 16:20:08.366 0x5b0325baf0 :0 - traverse end: 3 [W] 16:20:08.377 0x5b02cf1830 :0 - No icon for device: "Compal Broadband Networks, Inc CH6640" [W] 16:20:08.386 0x5b02cf1830 :0 - No icon for device: "Compal Broadband Networks, Inc CH6640" [D] 16:20:08.388 0x5b02cf1830 :0 - Refreshing status for XC devices [W] 16:20:20.028 0x5b02cf1830 modifyPageStack:110 - Error while modifying page stack: Error: No attached page to pop [W] 16:20:20.029 0x5b02cf1830 :604 - file:///usr/lib64/qt5/qml/Sailfish/Silica/PageStack.js:604: Error: No attached page to pop [W] 16:20:22.873 0x5b02cf1830 :0 - AVTransport service is not inited [D] 16:20:22.874 0x5b02cf1830 :0 - State changed: Qt::ApplicationState(ApplicationInactive) [W] 16:21:45.360 0x5b02cf1830 :0 - RenderingConrol is not inited! [W] 16:21:45.361 0x5b02cf1830 :0 - RenderingControl service is not inited [W] 16:21:45.361 0x5b02cf1830 :0 - RenderingConrol is not inited! [W] 16:21:45.361 0x5b02cf1830 :0 - RenderingControl service is not inited [W] 16:21:45.361 0x5b02cf1830 :0 - AVTransport service is not inited [D] 16:21:45.361 0x5b02cf1830 :0 - State changed: Qt::ApplicationState(ApplicationActive) [W] 16:23:07.955 0x5b02cf1830 :0 - AVTransport service is not inited [D] 16:23:07.955 0x5b02cf1830 :0 - State changed: Qt::ApplicationState(ApplicationInactive)
Chunk 2 from from jupii_upnp.log

[D] 16:20:06.176 0x5b03384020 :0 - Headers: [D] 16:20:06.176 0x5b03384020 :0 - "Content-Type" "image/jpeg" [D] 16:20:06.176 0x5b03384020 :0 - "Content-Language" "en" [D] 16:20:06.177 0x5b03384020 :0 - "Content-Length" "1963" [D] 16:20:06.177 0x5b03384020 :0 - "Date" "Thu, 24 Feb 2022 15:20:04 GMT" [D] 16:20:06.177 0x5b03384020 :0 - "Pragma" "no-cache" [D] 16:20:06.177 0x5b03384020 :0 - "Cache-control" "no-cache" [D] 16:20:06.177 0x5b03384020 :0 - "Connection" "keep-alive" [D] 16:20:06.177 0x5b03384020 :0 - "EXT" "" [D] 16:20:06.177 0x5b03384020 :0 - "Server" "Linux/2.x.x, UPnP/1.0, pvConnect UPnP SDK/1.0, TwonkyMedia UPnP SDK/1.1" [D] 16:20:06.177 0x5b03384020 :0 - Response code: 200 "OK" [D] 16:20:06.177 0x5b03384020 :0 - Saving album art to file [D] 16:20:06.179 0x5b03384020 :0 - final id: QUrl("jupii://upnp/uuid%3A55076f6e-6b79-4d65-64b7-4ce67696f3df/0%241%2411%246975R2378763?jupii_cookie=1S2E7tpQ22") [D] 16:20:06.180 0x5b02cf1830 :0 - addWorkerDone [D] 16:20:06.452 0x5b02cf1830 :0 - Saving current playlist [D] 16:20:06.482 0x5b02cf1830 :0 - onItemsLoaded [D] 16:20:06.482 0x5b02cf1830 :0 - Set empty active URL [D] 16:20:06.482 0x5b02cf1830 :0 - setActiveId: "" [D] 16:20:06.483 0x5b02cf1830 :0 - setActiveItemIndex: -1 -1 [D] 16:20:06.483 0x5b02cf1830 :0 - doUpdate [D] 16:20:06.483 0x5b02cf1830 :0 - updateDirectory [D] 16:20:07.445 0x5b02cf1830 :0 - Update playlist [D] 16:20:08.361 0x5b0325baf0 :0 - ==> new service found [D] 16:20:08.362 0x5b0325baf0 :0 - Device| type: "urn:schemas-upnp-org:device:InternetGatewayDevice:1" friendly name: "Compal Broadband Networks, Inc CH6640" [D] 16:20:08.362 0x5b0325baf0 :0 - Service| type: "urn:schemas-upnp-org:service:Layer3Forwarding:1" [D] 16:20:08.363 0x5b0325baf0 :0 - ==> new service found [D] 16:20:08.364 0x5b0325baf0 :0 - Device| type: "urn:schemas-upnp-org:device:WANConnectionDevice:1" friendly name: "Compal Broadband Networks, Inc CH6640" [D] 16:20:08.364 0x5b0325baf0 :0 - Service| type: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" [D] 16:20:08.364 0x5b0325baf0 :0 - ==> new service found [D] 16:20:08.364 0x5b0325baf0 :0 - Device| type: "urn:schemas-upnp-org:device:WANConnectionDevice:1" friendly name: "Compal Broadband Networks, Inc CH6640" [D] 16:20:08.364 0x5b0325baf0 :0 - Service| type: "urn:schemas-upnp-org:service:WANIPConnection:1" [D] 16:20:08.364 0x5b0325baf0 :0 - ==> new service found [D] 16:20:08.365 0x5b0325baf0 :0 - Device| type: "urn:schemas-upnp-org:device:MediaServer:1" friendly name: "Jupii (Volla Phone)" [D] 16:20:08.365 0x5b0325baf0 :0 - Service| type: "urn:schemas-upnp-org:service:ContentDirectory:1" [D] 16:20:08.365 0x5b0325baf0 :0 - ==> new service found [D] 16:20:08.366 0x5b0325baf0 :0 - Device| type: "urn:schemas-upnp-org:device:MediaServer:1" friendly name: "Jupii (Volla Phone)" [D] 16:20:08.366 0x5b0325baf0 :0 - Service| type: "urn:schemas-upnp-org:service:ConnectionManager:1" [D] 16:20:08.366 0x5b0325baf0 :0 - traverse end: 3 [W] 16:20:08.377 0x5b02cf1830 :0 - No icon for device: "Compal Broadband Networks, Inc CH6640" [W] 16:20:08.386 0x5b02cf1830 :0 - No icon for device: "Compal Broadband Networks, Inc CH6640" [D] 16:20:08.388 0x5b02cf1830 :0 - Refreshing status for XC devices [W] 16:20:20.028 0x5b02cf1830 modifyPageStack:110 - Error while modifying page stack: Error: No attached page to pop [W] 16:20:20.029 0x5b02cf1830 :604 - file:///usr/lib64/qt5/qml/Sailfish/Silica/PageStack.js:604: Error: No attached page to pop [W] 16:20:22.873 0x5b02cf1830 :0 - AVTransport service is not inited [D] 16:20:22.874 0x5b02cf1830 :0 - State changed: Qt::ApplicationState(ApplicationInactive) [W] 16:21:45.360 0x5b02cf1830 :0 - RenderingConrol is not inited! [W] 16:21:45.361 0x5b02cf1830 :0 - RenderingControl service is not inited [W] 16:21:45.361 0x5b02cf1830 :0 - RenderingConrol is not inited! [W] 16:21:45.361 0x5b02cf1830 :0 - RenderingControl service is not inited [W] 16:21:45.361 0x5b02cf1830 :0 - AVTransport service is not inited [D] 16:21:45.361 0x5b02cf1830 :0 - State changed: Qt::ApplicationState(ApplicationActive) [W] 16:23:07.955 0x5b02cf1830 :0 - AVTransport service is not inited [D] 16:23:07.955 0x5b02cf1830 :0 - State changed: Qt::ApplicationState(ApplicationInactive)

Can't seek

I can neither seek on the timeline nor use the fast forward/backward arrows. I adjust the timestep interval in the settings to 30s. I tried with mp3.

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.