Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 13 09:04
    dominikhaid commented #640
  • Nov 03 13:04
    mmischitelli commented #785
  • Oct 24 17:24
    fcwoknhenuxdfiyv opened #785
  • Oct 22 16:49
    saburch commented #775
  • Oct 06 23:44
    jwisbell50 commented #782
  • Oct 05 23:59
    jwisbell50 commented #782
  • Oct 01 14:48
    zlocate commented #784
  • Oct 01 14:41
    zlocate commented #784
  • Oct 01 14:15
    zlocate commented #784
  • Sep 30 11:51
    SainteCroquette commented #784
  • Sep 30 11:51
    SainteCroquette commented #784
  • Sep 25 17:22
    zlocate opened #784
  • Sep 24 19:42
    zlocate closed #783
  • Sep 24 19:42
    zlocate commented #783
  • Sep 24 19:10
    zlocate opened #783
  • Sep 12 18:09
    fopor opened #782
  • Sep 07 18:08
    Raghav-99 commented #721
  • Sep 07 18:07
    Raghav-99 commented #721
  • Sep 07 18:03
    Raghav-99 commented #721
  • Sep 05 21:27
    codeasashu commented #780
ptaczek
@ptaczek
does anybody know whether a Bandcamp support is possible/planned?
Juan A. Rubio
@juanrubio
Hello, it's not planned but it would be possible/easy if there was a python wrapper that gave access to the Bandcamp API. Do you know if there is one?
martin-morris
@martin-morris
Hello, I'm looking for a bit of support getting tizonia working - is this the right place?

I'm getting what looks like a fairly standard error, which is:

tizonia exiting (OMX_ErrorInsufficientResources).

[OMX.Aratelia.audio_renderer.alsa.pcm:port:0]
[OMX_ErrorInsufficientResources]

Juan A. Rubio
@juanrubio
Hi @martin-morris , you are in the right place! :-)
what OS are you using?. Also, which command are you issuing?
martin-morris
@martin-morris

I'm running a headless Ubuntu 20.04 LTS machine, with this command:

tizonia --plex-server-base-url 'http://localhost:32400' --plex-auth-token '<token>' --plex-audio-tracks deutsche

It connects fine, but dies when it gets to the playing stage. Happens both in run levels 3 and 5.
Juan A. Rubio
@juanrubio
Yes, something is preventing Tizonia access to the ALSA device. To understand what's preventing it, can you post the debug logs either here or on a Github issue?. See this comment for reference on how to do that:
https://github.com/tizonia/tizonia-openmax-il/issues/743#issuecomment-633738340
Andrzej Tunkiel
@AndrzejTunkiel
Hi. I am making a Pi Zero W based conversion of an old portable stereo to a pi radio of sorts. Long story short, it is meant to be able to play some predefined playlists from Spotify. So far Tizonia looks like a great option, but I have a problem - it takes even 30 seconds from 'tizonia --spotify-tracks ozzy' to get the music going. I checked ping on my network (8.8.8.8 responds in 20ms to the pi zero). Speedtest shows 18mbit down, 25mbit up. I checked with htop, and while CPU goes to 100% momentarily, it drops within 2 seconds. It hangs on [Track search] for 25+ seconds and then spits out the list of tracks instantly and starts playing.
I checked on my Surface Pro, Ubuntu via WSL2, and it works much faster
I have no clue what the bottleneck is though.
Juan A. Rubio
@juanrubio
Hi @AndrzejTunkiel , one way to see what an application is doing is to use the strace command, e.g. strace -r tizonia --spotify-artist "alice in chains", that might give you an idea of what's going on...
having said that, I've been recently observing that Tizonia is being penalized by the Spotify API rate limits
I have not spent yet the time that this issue requires, but I'm experiencing this problem on my development workstation
Juan A. Rubio
@juanrubio
when the rate limit is reached, there will be a wait time applied to subsequent requests, I have seen 30s or even 1 min waits.. which are incurred when the application is retrieving the search results from the Spotify servers, once the playlist is ready, changing songs is quick as normal
Andrzej Tunkiel
@AndrzejTunkiel
I think the rate limiting is the issue. strace did not show anything interesting while waiting, and actually right now it worked quite fast
I think I will just have to rip some songs from Spotify and use mplayer. The radio is for my 4 year old and he has no patience to wait 30 sec ;)
Anyhow, thanks for looking at it. Tizonia is really great and I am sure I will be using it more for other projects
Juan A. Rubio
@juanrubio
I suspected that that would be the issue. Yes, on the pi zero, nothing will be faster that mplayer :-) Good luck with the project
Solomon Choina
@SolarAquarion
@juanrubio i'm wondering about pandora
pandora/pandora plus support
Sylvia van Os
@TheLastProject
Hey, I've been looking for a music player that can play both local files and Spotify, like, shuffling them together. Is there any way I can get Tizonia to do this? Like, use more than one source at the same time to pick songs from?
sogens
@sogens
hello all im having an issue with tizonia It was working fine before but now when I try to play music on spotify it gets to the part where it says "[Spotify] [Cache]: '/var/tmp/tizonia-root-spotify-username'" and doesnt do anythinng are there any obvious reasons for this ?
Juan A. Rubio
@juanrubio
@SolarAquarion Yes, Pandora is in my todo list. However, I faced a technical problem (lack of a suitable mp4 demuxing library) that I have not managed to resolve yet.
@TheLastProject The feature that you are referring to is not available in Tizonia today. It is however, something that is planned for the future (Tizonia headless interface).
@sogens I think you are most likely hitting the same problem discussed a few days back in this chat. That is, the Spotify rate limit. I think this is becoming a more prevalent problem as more Tizonia users keep finding this. I am planning to make this issue a priority for the next version of Tizonia (caching of Spotify API requests to reduce the chances of hitting the rate limits)
evilblade666
@evilblade666
Hi, guys. My home internet is down for a time here, so I'm listening for my local music and I've noticed a thing.. So the command is tizonia /path/to/local/music/folder/ -r -s Well, it plays and shuffles my entire music allright, BUT! it shuffles it the same way EVERY time! :) Only when I modify the contents of a folder by adding/removing something - then the playlist becomes different :) Can I do something to make this shuffled playlist different every time I run the command?
Solomon Choina
@SolarAquarion
how about that one
Juan A. Rubio
@juanrubio
@evilblade666 : Hi!, thanks for reporting this issue. I've created a bug for it: tizonia/tizonia-openmax-il#756
The solution is super easy, it just requires adding a couple of lines of code in a cpp file. If you would like to contribute, please see the GitHub issue. A patch would be very welcome!
Juan A. Rubio
@juanrubio
@SolarAquarion : Yes!, thanks for bringing minimp4 to my attention. It definitely looks worth a try. I'll give it a go sometime in September. Pandora is a service that I've been wanting to add to Tizonia for a long time!
evilblade666
@evilblade666
@juanrubio thanks.. I'd like to contribute, but I'm not much into programming, sorry..
Juan A. Rubio
@juanrubio
@evilblade666 That's cool. Reporting an issue also counts as a contribution!
Solomon Choina
@SolarAquarion
@juanrubio it seems minimp4 seems to be the solution
Juan A. Rubio
@juanrubio
@SolarAquarion Yes, it may well be. I need to read the docs to see how to demux a network stream. Do you have any references of this being used in other projects?
Solomon Choina
@SolarAquarion
@juanrubio i know he has a rust bindings
Solomon Choina
@SolarAquarion
hi @juanrubio
Juan A. Rubio
@juanrubio
@SolarAquarion hi!
Solomon Choina
@SolarAquarion
@juanrubio have you done more research on minimp4
Juan A. Rubio
@juanrubio
Hi, sorry for the delay. Unfortunately I haven't got a chance to look into the demuxer yet.
claudio a andreotti
@andreottica_twitter
Hola Buenas tardes: Tengo instalado Tizonia en una PCi5-16gbRam funcionando perfectamente. Tengo una vieja notebook Asus 900PCeee, en ella funciona Cmus y Mplayer sin problema, pero no funciona Tizonia, sale un mensaje que dice ---> ErrorInsufficientResources. Hay alguna forma de que Tizonia funcione en mi notebook ??
CharlesB
@CDBridger
Hey trying to get tizonia to work on Rasberry pi 4
have installed pulseaudio
but get OMX_ErrorInsufficientResources
tried to google github issues
and tried the linked DBUS code?
(Tizonie on headless rasberry)
using the snap