by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 26 21:52

    juanrubio on develop

    docs: added platuml diagram wit… clients/spotify/spotifyproxy: a… clients/spotify/spotifyproxy: D… and 2 more (compare)

  • Jun 17 14:50

    juanrubio on master

    wrapper/tizonia-snap-wrapper.sh… (compare)

  • Jun 17 11:25

    juanrubio on master

    wrapper/tizonia-snap-wrapper.sh… (compare)

  • Jun 15 22:54

    juanrubio on master

    0.22.0: spotify - added sub-sec… (compare)

  • Jun 15 22:52

    juanrubio on master

    docs/sphinx-src/manual: spotify… (compare)

  • Jun 15 22:11

    juanrubio on master

    snapcraft.yaml: updated source-… (compare)

  • Jun 15 22:10

    juanrubio on master

    clients/spotify/spotifyproxy: D… (compare)

  • Jun 13 23:03

    juanrubio on master

    snapcraft.yaml: updated source-… (compare)

  • Jun 13 23:01
    juanrubio closed #751
  • Jun 13 23:01

    juanrubio on master

    clients/spotify/spotifyproxy: a… (compare)

  • Jun 13 23:00
    juanrubio milestoned #751
  • Jun 13 23:00
    juanrubio labeled #751
  • Jun 13 23:00
    juanrubio assigned #751
  • Jun 13 23:00
    juanrubio opened #751
  • Jun 13 22:04

    juanrubio on master

    0.22.0: added platuml diagram o… (compare)

  • Jun 13 22:02

    juanrubio on master

    docs: added platuml diagram wit… (compare)

  • Jun 13 14:49
    juanrubio commented #750
  • Jun 13 14:18
    sanjarcode commented #750
  • Jun 13 12:52
    juanrubio commented #744
  • Jun 13 10:26
    juanrubio commented #744
Juan A. Rubio
@juanrubio
I believe nowdays you can build multi-arch images, i.e. with support for more than one architecture in the same image, e.g. armhf, x86, amd64, etc..
You could try to build the image yourself on your arm system. There is another user that attempted it some time ago, although he was not successful.
In my opinion, it should be possible to build a docker image with armhf support as we provide debian binaries for that architecture.
We don't yet support arm64, but perhaps you don't need that.
If you are interested, please join the discussion in tizonia/docker-tizonia#7
dev-da77
@dev-da77
Thank's.
semla
@semla
I am trying to use an old machine running Debian, for Tizonia. I read that snap has a 32 bit version of Tizonia. I tried installing snap and the tizonia package, but when opening it says it is the wrong platform. So I guess snap must have installed the 64-bit version of Tizonia.
First time with snap, how do I choose the correct package (32-bit)?
Juan A. Rubio
@juanrubio
@semla: Hi, can you post somewhere the message about the wrong platform?. Also which distro are you running? Run `cat /etc-os-release'
If you have the snap system installed correctly, then doing sudo snap install tizonia will get the right version of the tizonia package installed on your system.
There is nothing specific you need to do to install the i386 package on your distro. It gets downloaded automatically by the snap infrastructure on your system
the command is cat /etc/os-release
Juan A. Rubio
@juanrubio
also, what is the output of this command: uname -a
semla
@semla
@juanrubio Thanks for the quick answer. Here is the info
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
uname -a
Linux username 4.19.0-9-686 #1 SMP Debian 4.19.118-2 (2020-04-29) i686 GNU/Linux
and $ tizonia; Unsupported architecture for this app build
Juan A. Rubio
@juanrubio
semla: can you post the output of cat /proc/cpuinfo
@semla : I think I know what is the problem... here it is:
I forgot to uncomment the 2 options in the SNAP_ARCH case statement. So yes, it's a bug.
Juan A. Rubio
@juanrubio
@semla: I have pushed a fix for that. A new build has been kicked off, it'll take an hour. After that, you will be able to refresh your snap and retry.
you can do that with sudo snap refresh tizonia
If you have a chance, could you please post the output of : dpkg-architecture -qDEB_HOST_MULTIARCH (forget about cat /proc/cpuinfo). You may need to install dpkg-architecture using sudo apt-get install dpkg-dev
semla
@semla
$ dpkg-architecture -qDEB_HOST_MULTIARCH
i386-linux-gnu
Sounds great if it is that bug. I have done $ sudo snap refresh tizonia but get snap "tizonia" has no updates available
Juan A. Rubio
@juanrubio
@semla : Sorry, I have not promoted the new build to the stable channel until just now. If you refresh again, it should get the new build.
Juan A. Rubio
@juanrubio
@semla: Please hold on. Sorry, I've spotted a typo in my previous fix. It's fixed now (see commit tizonia/tizonia-snap@4601272). A new build is in progress, I will ping here when its ready and released to the stable channel.
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!