Kodi package — YunoHost as a media center

fr
en

#1

(French bellow)

Hi,

I just started to work on a Kodi YunoHost package here : https://github.com/YunoHost-Apps/kodi_ynh

For now it works on Debian based Yunohost (Kodi 16.2) and it works on Raspberry based YunoHost (17.3).

There are still many things to do (see README on GitHub).

Any helps appreciated like bug report, pull request and tests.

See you soon :tv:

Sylvain


Bonjour à tous,

Je viens de commencer à packages le célèbre media center Kodi pour YunoHost.
Le dépôt Git est ici : https://github.com/YunoHost-Apps/kodi_ynh

Pour l’instant il fonctionne sur un YunoHost Debian sous la version Kodi 16.2 et sur un Raspberry sous la version 17.3.

Il y a encore beaucoup de choses à faire (cf. README GitHub).

Je remercie déjà d’avances toutes les personnes qui pourront travailler sur ce paquet : Retours de bugs, pull requets et toutes formes de tests ou de propositions !

À très bientôt :tv:

Sylvain


Tvheadend package — TV streaming PVR backend
#2

Hi,

I am currently working to add the Kodi web control interface from the YunoHost user interface.
That seems to work but I’m unable to see the movies list for example.
I’m not a nginx expert and I think that the problem is here.
If someone can help me with this issue it would be very nice !

I found a link about that : https://github.com/xbmc/chorus2/issues/133

Thanks a lot!

(see the GitHub repo to view the nginx.conf file)


Bonjour à tous,

Je suis actuellement en train de travailler sur l’accès à l’interface de contrôle Web de Kodi depuis l’interface utilisateur YunoHost.
J’arrive bien à accéder à Chorus mais certaines fonctionnalités ne marchent pas comme par exemple la liste des films de Kodi.
Je pense que c’est un problème de configuration Nginx mais je ne suis pas du tout un expert en Reverse proxy.
Ça serait vraiment super si quelqu’un à le temps d’y regarder un peu !

J’ai trouvé un lien qui parle de Reverse Proxy avec Kodi mais malgré ça je n’ai pas réussi à m’en sortir : https://github.com/xbmc/chorus2/issues/133

Merci d’avance et bon week end à tous,

Sylvain

(Le fichier de configuration nginx est sur le déport GitHub dans le dossier conf)


#3

Salut,

Je viens de tester d’installer ton application et j’ai rencontré une erreure :

Attention : E: Impossible de trouver le paquet xserver-xorg-legacy
Attention : !!
Attention :   kodi's script has encountered an error. Its execution was cancelled.
Attention : !!
Attention : 
Attention : sed: impossible de lire /etc/X11/Xwrapper.config: Aucun fichier ou dossier de ce type
Attention : E: Impossible de trouver le paquet xserver-xorg-legacy
Attention : /var/www/kodi wasn't deleted because it doesn't exist.
Attention : Remove the user kodi
Attention : /etc/nginx/conf.d/yunotest.xyz.d/kodi.conf wasn't deleted because it doesn't exist.
Succès ! La configuration de SSOwat a été générée
Erreur : Échec de l'installation

(yunotest.xyz = domaine de test sur une VM )

bizarre d’ailleurs, j’avais testé d’installé ton app la semaine dernière et cela avait fonctionné (et j’avais oublier de posté un message :confounded: ).

EDIT:
Ouai bha … effectivement il n’est plu dans les backport.

https://packages.debian.org/search?keywords=xserver-xorg-legacy&searchon=names&suite=all&section=all


#4

Salut gannonwoto,

Oui c’est possible que tu ai cette erreur, j’ai fait des motifs depuis et il est fort probable que la version actuelle sur le git soit cassée.
La package n’est pas encore terminé et il y a encore beaucoup de modification à faire.
Je suis en train de finir de régler le problème d’accès à l’interface Web de Control de Kodi et après il faut que j’ajoute l’option pour démarrer Kodi en meme temps que le système.

Je vais essayer d’avancer dans la semaine.

En attendant tu peux je pense palier à ce problème en faisant un sudo apt-get install xserver-xorg-legacy xorg dbus-x11 avant d’installer le package.

Mais bon j’insiste sur le fait que le package est encore en cours de construction donc à tes risques et périls :stuck_out_tongue_winking_eye:

En tout cas merci d’y porter de l’intérêt :smiley:

J’essaie de travailler dessus quand j’ai du temps libre mais bon c’est pas toujours évident … doucement mais surement :wink:

Bonne journée !


#5

Heu c’est pas tes modifications :

root@yunotest:~# apt search xserver-xorg-legacy
En train de trier... Fait
Recherche en texte intégral... Fait
root@yunotest:~# apt-cache search xserver-xorg-legacy
root@yunotest:~# 

regarde ce lien :
https://packages.debian.org/search?keywords=xserver-xorg-legacy&searchon=names&suite=all&section=all


J’ai un peu regardé pour le problème de reverse proxy nginx mais je ne trouve pas de message concluant.

Surtout que le forum de kodi semble être en maintenance jusqu’à mercredi :

PSA: The forum server will be physically migrated to a new datacenter. Expect a large downtime of the forum from Saturday 30 until Monday 2nd.

http://kodi.wiki/view/Main_Page

https://forum.kodi.tv/showthread.php?tid=296265


#6

Hi,

I committed some modifications on GitHut with this improvements:

  • Directly starts Kodi after installation
  • Option for launch at server start up now works
  • Control web interface works from the YunoHost interface only if you choose “/” as path (TO IMPROVED)
  • Tested on Raspberry Pi

Gannonwoto, what about your problem, is it fixed?


#7

hello,

For your question : no, I have always this problem on my test VM.
I test tonight or tomorrow on a fresh vm.


#8

Since a long time I do all my tests on my Raspberry Pi 3, maybe xserver-xorg-legacy is only presents on raspbian repo and not presents on official Debian repo…

I will test again in my Debian VM too. Maybe on Debian is necessary to remove xserver-xorg-legacy from the install script?


#9

yes for me it’s that

hum, the install is OK but the kodi doesn’t work and I have nothing in /home/kodi/.kodi/temp/kodi.log.

you have the same?

I try latter on Raspberry.


#10

I have not had time yet to test on my debian VM but I will test tonight or maybe tomorrow :wink:

If the packages aren’t the same between Raspberry and Debian I will ad a “if” to resole this issue


#11

I just commit a fix to ignore xserver-xorg-legacy installation on debian x86 machine. This package is only installed on Raspberry ARM machine.


#12

OK,

And for information, Kodi’s web interface don’t work but Kodi work. When I reboot my VM, I have kodi’s interface.
I don’t understand something …


#13

Normally the Kodi’s web interface work only if you choose “/” as a path (you have to use a dedicated domain for kodi interface). It’s a conflict between the Yunohost SSO and Kodi’s web interface. I have to investigate for this issue.

Have you an issue with the “launch at login” ?


#14

Hi

I have installed your package on my Raspberry Pi and it works very fine. I have just one problem I will open the port 8080 in the YunoHost firewall for use the mobile app


#15

Hi rafi59,

Thank you for your test!

Yes you are right about the blocked port 8080 en YunoHost firewall, I will add a question in the manifest to let the user choose if he want to use a kodi remote smartphone app (–> open the 8080 port) or not (–> let the 8080 port blocked).

My current goal is to fix the nginx issue (I’m currently working on it) to be able to use the remote web interface of Kodi directly from the YunoHost user interface by clicking on the “Kodi” square.


#16

I have a problem on my raspberry pi when I start a hd video I get a green screen with white flash


#17

I think it’s a Kodi related issue, I already had it in the past. It’s a settings in Kodi concerning the Hardware video acceleration. Try to Google it :wink:


#18

Hey!

Good news today! Thanks to scith I just transferred the GitHub repo from my account to the YunoHost-Apps organization. Now the GitHub URL repo is https://github.com/YunoHost-Apps/kodi_ynh

Also, I committed a fix for the Web control interface. Now it’s seems that you can access to it from your YunoHost panel BUT I still have to change the permission from skipped to protected!!

So update at your own risks (Someone may have access to your Kodi remote from internet without YunoHost account …)


#19

Hi!

I want to add the upgrade script but I don’t understand how exactly it work. And the doc seems to be broken on this page : https://yunohost.org/#/packaging_apps_scripts_fr

If anyone can explain me what to do in “upgrade” and the difference with install

Thanks a lot


#20

Good evening everyone,

I have just pushed some news on the GitHub repo of kodi_ynh

  • Scripts files cleaned
  • Backup, Restore and Upgrade scripts

If anybody want to test the package or suggest some improvements?