Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 14 08:18
    jgieseler commented #796
  • Jun 14 08:15
    alazyworkaholic closed #796
  • Jun 14 08:14
    alazyworkaholic commented #796
  • Jun 13 13:43
    jgieseler commented #796
  • Jun 13 07:01
    alazyworkaholic opened #796
  • May 30 15:45
    voxwb commented #531
  • May 29 19:41
    renanqts opened #795
  • May 16 14:54
    andrewrembrandt opened #794
  • May 12 18:28
    marciusbezerra opened #793
  • May 11 12:48
    xaidenz commented #790
  • May 02 17:44
    see5voph commented #2
  • May 02 17:44
    see5voph edited #2
  • May 02 17:43
    see5voph commented #2
  • May 02 17:43
    see5voph edited #2
  • Apr 28 12:48
    Florent-Baty opened #792
  • Feb 08 23:08
    Aviska88 edited #791
  • Feb 08 22:59
    Aviska88 opened #791
  • Feb 07 11:09
    0xFF1E071F commented #790
  • Feb 07 11:09
    0xFF1E071F commented #790
  • Jan 31 17:29
    Evskij opened #790
Juan A. Rubio
@juanrubio
@semla: OK, build 371 is now in the stable channel, i386 architecture. Let me know how it goes!
semla
@semla

Great, one step forward. Tizonia now runs, tizonia --help works.
But tizonia --tunein-search metal ends in

TuneIn] Playing '466 - METAL ON METAL'.
[Tunein] [Streaming] : 'metal'.

tizonia exiting (OMX_ErrorInsufficientResources).

 [OMX.Aratelia.audio_renderer.pulseaudio.pcm:port:0]
 [OMX_ErrorInsufficientResources]
pulseaudio --version
pulseaudio 12.2

I have sudo systemctl set-default multi-user.target so not using any DE

semla
@semla
Wait, apparantly lxde was used (I only login via ssh). I will try without DE also, brb
semla
@semla
Same goes for no DE (multi-user.target)
Juan A. Rubio
@juanrubio
@semla: looks like Tizonia is unable to talk to PulseAudio. This could be for a number of reasons. With Snap's strict confinement, the confined applications are allowed to talk to the host's services like PulseAudio only under certain circumstances.
See this link for more information: https://snapcraft.io/blog/demystifying-snap-confinement
Once thing you could do is to re-install tizonia in 'devmode'. This essentially removes the security policies that in place in Snap packages with 'strict' confinement.
Juan A. Rubio
@juanrubio
so what I would do is, remove tizonia first : sudo snap remove tizonia
then install it again in 'devmode': sudo snap install tizonia --devmode and see if that changes anything.
semla
@semla
Ok, will try.
Dont know if it is interesting, but iirc I got the same error when trying to run in Docker and in Virtualbox previously on another machine
Juan A. Rubio
@juanrubio
@semla: yes, that's a good observation. Docker and Snap are very similar in that they both provide Tizonia inside of a confined environment, and in both cases, tizonia has to talk to the PulseAudio server that is outside of that environment, so in both cases, security makes Tizonia's work more difficult.
also, PulseAudio is designed to be integrated into the desktop environment, and the client applications are supposed to discover the location of the server, via X11 properties. So sometimes you will notice that the Snap or the docker container work under one DE and not others..
Juan A. Rubio
@juanrubio
so in your case, you are trying to run Tizonia without Desktop Environment, and using the Snap package. These two things combined makes the your use case more interesting.
Tizonia should be able to run in your scenario, possibly without changing a line code, but it will take some more time to figure out, cofiguration-wise. I'm also interested in your use case, so I'd like to help you to get it working. It will be a good learning for me as well.
evilblade666
@evilblade666
Hey guys.. I recently got an e-mail from Google about closing their GoogleMusic later on this year.. This made me sad but.. oh well, nothing I can do about anyway. My question is - will Tizonia support YouTube Music in the future?
Juan A. Rubio
@juanrubio
@evilblade666: Hi, yes that's correct, Google Music is being discontinued and will cease to exists later this year. Tizonia relies on the gmusicapi project to interact with GMusic. I believe the gmusicapi maintainer has no plans to migrate to YouTube, but there seems to be other people trying to create a similar project. If they succeed, it is very likely that we will integrate
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
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 ?