by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 09 16:55
    juanrubio commented #546
  • Sep 09 16:55

    juanrubio on master

    Fixes KeyError exception for Un… (compare)

  • Sep 09 16:55
    juanrubio closed #758
  • Sep 09 16:55
    juanrubio commented #758
  • Sep 09 16:11
    codecov[bot] commented #758
  • Sep 09 15:38
    jadacyrus opened #758
  • Sep 09 15:01
    jadacyrus commented #546
  • Sep 09 14:41
    jadacyrus commented #546
  • Aug 30 10:18
    Vincenzo-Petrolo commented #692
  • Aug 24 13:44
    darthmooguy commented #755
  • Aug 23 15:58
    MiCkSoftware commented #757
  • Aug 23 15:58
    MiCkSoftware commented #757
  • Aug 23 15:56
    MiCkSoftware opened #757
  • Aug 20 12:48
    juanrubio commented #754
  • Aug 20 12:43
    juanrubio commented #754
  • Aug 20 12:02
    henrikp commented #754
  • Aug 19 22:36
    henrikp commented #754
  • Aug 19 22:17
    juanrubio commented #754
  • Aug 19 22:13
    juanrubio commented #754
  • Aug 19 17:55
    henrikp commented #754
Juan A. Rubio
@juanrubio
this into Tizonia at some point.
Gustavo Kildegaard
@gkildegaard_gitlab
Hello there! I tried Tizonia and absolutely loved it. But afterwards, I reinstalled Linux Mint 19.3 and could not make it work anymore... So sad. I spent hours looking all around the internet, trying things... But nothing worked. Is there a posibility that anyone could help me?
I'll paste the error that appears at the terminal

tizonia --youtube-audio-mix 'Mala fama'
tizonia 0.22.0. Copyright (C) 2020 Juan A. Rubio and contributors
This software is part of the Tizonia project https://tizonia.org

[Youtube] [Connecting] : 'Mala fama'.
Traceback (most recent call last):
File "<string>", line 2, in <module>
AttributeError: module 'importlib' has no attribute 'util'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 154, in apport_excepthook
os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_tizonia.1000.crash'

Original exception was:
Traceback (most recent call last):
File "<string>", line 2, in <module>
AttributeError: module 'importlib' has no attribute 'util'

Python modules 'pafy', 'youtube-dl', 'joblib' or 'fuzzywuzzy' not found.
Please make sure these are installed correctly.

tizonia exiting (OMX_ErrorInsufficientResources).

[OMX.Aratelia.audio_source.http:port:0]
[OMX_ErrorInsufficientResources]

Gustavo Kildegaard
@gkildegaard_gitlab
Never mind, I managed to get it to work! Did so many things that I can't recall them... sorry. Thanks for the app!!
Juan A. Rubio
@juanrubio
@gkildegaard_gitlab : Hi Gustavo, good to hear that you've got it sorted!
ptaczek
@ptaczek
hello ppl
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
SolarAquarion
@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?
SolarAquarion
@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!
SolarAquarion
@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?
SolarAquarion
@SolarAquarion
@juanrubio i know he has a rust bindings
SolarAquarion
@SolarAquarion
hi @juanrubio
Juan A. Rubio
@juanrubio
@SolarAquarion hi!
SolarAquarion
@SolarAquarion
@juanrubio have you done more research on minimp4