dbuteau / osmc-freeboxtv Goto Github PK
View Code? Open in Web Editor NEWosmc script to manage alone pvr.iptvsimple config
License: GNU General Public License v2.0
osmc script to manage alone pvr.iptvsimple config
License: GNU General Public License v2.0
Ces caractères ne peuvent etre a nouveau encodé car déjà en utf8, ils utilisent des caractères en dehors de la table ASCII et plante l'écriture dans un fichier (logs ou m3u)
Solution temporaire trouvé:
.encode('ascii', 'replace')
Qui remplace les caractères par des "?"
Piste pour trouver une autre solution: https://linuxfr.org/forums/programmation-python/posts/str-et-encodage-ascii-unicode
la mettre en tant que dépendance dans le addon.xml fait planter l'install par zip
soit trouver une alternative automatique pour l'utilisateur, soit déposer une version sur superrepo (si envisageable)
Et je ne comprend pas pourquoi...
petit extrait du xmltv(le 13/01/2018 a 19:05):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv source-info-url="http://www.schedulesdirect.org/" source-info-name="Schedules Direct" generator-info-name="XMLTV/$Id: tv_grab_na_dd.in,v 1.70 2008/03/03 15:21:41 rmeden Exp $" generator-info-url="http://www.xmltv.org/">
<channel id="uuid.webtv.201">
<display-name>France 2</display-name>
<icon src="https://mafreebox.freebox.fr/api/v4/tv/img/channels/logos68x60/uuid-webtv-201.png" />
</channel>
<programme start="20180113164500 -3600" stop="20180113174500 -3600" channel="uuid.webtv.201">
<title>5 anneaux d'or</title>
<category>Jeu</category>
</programme>
<programme start="20180113174500 -3600" stop="20180113182000 -3600" channel="uuid.webtv.201">
<title>N'oubliez pas les paroles</title>
<category>Jeu</category>
</programme>
</tv>
Si quelqu'un voit ce qu'il cloche...
Parfois on se retrouve avec le flux descriptif pour malvoyant, des fois avec la VO du film/série.
Changer de chaine et revenir permet de revenir a une piste audio FR normal, mais faut enquêter là dessus
le json retourne les chaines dans le désordre, faire une routine pour les écrire dans le m3u dans l'ordre de l'attribut "number" du json
creer une release pour la déposer sur superrepo (si possible) ou ailleurs pour installation facilité (attention a #4 qui risque d'empêcher l'install)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.