issue125:coinkodi
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue125:coinkodi [2017/10/01 19:05] – créée auntiee | issue125:coinkodi [2017/10/09 09:12] (Version actuelle) – d52fr | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Last month I mentioned that we have several KODI boxes throughout the apartment that all get fed by our KODI server. Over the years, we’ve tried different incarnations (Netbooks, Android boxes) and ended up returning to a 1 server + various boxes (Android and a Zotac box running Xubuntu) setup. | + | **Last month I mentioned that we have several KODI boxes throughout the apartment that all get fed by our KODI server. Over the years, we’ve tried different incarnations (Netbooks, Android boxes) and ended up returning to a 1 server + various boxes (Android and a Zotac box running Xubuntu) setup. |
- | Our main server, aptly named KODI, runs stock Xubuntu. During the install process, I made sure to set the user to auto-login. After the system was installed and updated, I installed lirc. Lirc works really well with the HP Windows Media Center remote that we use, and no extra configuration is required other than selecting “Windows Media Center Transceivers Remotes (all)” when LIRC prompts you to choose a remote or transmitter. Lirc will also ask for an IR transmitter. We got rid of our Scientific Atlanta Cable box long ago, but if you have some kind of cable box or satellite receiver, you can chose the Windows Media Center receiver v2 for the type of cable/ | + | Our main server, aptly named KODI, runs stock Xubuntu. During the install process, I made sure to set the user to auto-login. After the system was installed and updated, I installed lirc. Lirc works really well with the HP Windows Media Center remote that we use, and no extra configuration is required other than selecting “Windows Media Center Transceivers Remotes (all)” when LIRC prompts you to choose a remote or transmitter. Lirc will also ask for an IR transmitter. We got rid of our Scientific Atlanta Cable box long ago, but if you have some kind of cable box or satellite receiver, you can chose the Windows Media Center receiver v2 for the type of cable/ |
- | Next, head over to http:// | + | Le mois dernier, j'ai mentionné que nous avons plusieurs boxes KODI réparties dans l' |
+ | |||
+ | Notre serveur principal, nommé, comme il se doit, KODI, tourne sous une version standard de Xubuntu. Je me suis assuré de régler l' | ||
+ | |||
+ | **Next, head over to http:// | ||
Settings Manager > Session and Startup > Application Autostart > Add | Settings Manager > Session and Startup > Application Autostart > Add | ||
Ligne 10: | Ligne 14: | ||
If you plan on using the PC as a PC rather than a dedicated KODI server, you might want to leave off the last step. As a dedicated server, we need a way to put files on the server. I use SSH. Installing SSH is easy: | If you plan on using the PC as a PC rather than a dedicated KODI server, you might want to leave off the last step. As a dedicated server, we need a way to put files on the server. I use SSH. Installing SSH is easy: | ||
+ | |||
+ | sudo apt install ssh** | ||
+ | |||
+ | Ensuite, allez sur http:// | ||
+ | |||
+ | Configuration du système > Démarrage et Arrêt > Démarrage automatique > Ajouter un programme | ||
+ | |||
+ | et en ajoutant KODI comme application au démarrage. | ||
+ | |||
+ | Si vous prévoyez d' | ||
sudo apt install ssh | sudo apt install ssh | ||
- | The system we use to rip media runs Linux Mint. Originally, we used transcode to rip DVDs, but have long since switched to using a combination of Handbrake for DVDs and MakeMKV for Blu-ray media. That system also has a Windows partition, but we rarely use it for transferring media, but when we do, we use filezilla for the SSH connection. | + | **The system we use to rip media runs Linux Mint. Originally, we used transcode to rip DVDs, but have long since switched to using a combination of Handbrake for DVDs and MakeMKV for Blu-ray media. That system also has a Windows partition, but we rarely use it for transferring media, but when we do, we use filezilla for the SSH connection. |
Although we are running SAMBA, all media shared with SAMBA is shared with read-only as a precaution (not all family members might be as cautious as you might be). We use SSH/ | Although we are running SAMBA, all media shared with SAMBA is shared with read-only as a precaution (not all family members might be as cautious as you might be). We use SSH/ | ||
Ligne 23: | Ligne 37: | ||
sudo blkid | sudo blkid | ||
- | Running without sudo permission will turn up nothing, so make sure to use sudo to list the block id’s of the devices (shown above). | + | Running without sudo permission will turn up nothing, so make sure to use sudo to list the block id’s of the devices (shown above).** |
- | The observant will notice that our boot and root drive/ | + | Le système que nous utilisons pour riper les média est sous Linux Mint. Au départ, nous utilisions transcode pour riper les DVD, mais depuis belle lurette avons changé pour Handbrake pour les DVD et MakeMKV pour les média |
- | Earlier, I mentioned that I share media to Windows PCs (and our Android boxes) via SAMBA. Our SAMBA shares look something like: | + | Bien que nous exécutions SAMBA, tous les média partagés avec SAMBA sont partagés en lecture seule par précaution |
- | [dvd] | + | Au fils des ans, nous avons fait des mises à niveau avec beaucoup de disques durs ; ainsi, notre fichier /etc/fstab est un véritable capharnaüm. Actuellement, |
+ | |||
+ | Pour connaître l'UUID d'une partition, il suffit d' | ||
+ | |||
+ | sudo blkid | ||
+ | |||
+ | Sans les droits de sudo, il n'y aura aucun résultat ; assurez-vous d' | ||
+ | |||
+ | **The observant will notice that our boot and root drive/ | ||
+ | |||
+ | Earlier, I mentioned that I share media to Windows PCs (and our Android boxes) via SAMBA. Our SAMBA shares look something like:** | ||
+ | |||
+ | Ceux qui sont attentifs remarqueront que notre disque/ | ||
+ | |||
+ | J'ai mentionné un peu plus tôt que je partage des média vers les PC Windows (et nos boxes Android) via SAMBA; Nos partages SAMBA ressemblent à : | ||
+ | |||
+ | **[dvd] | ||
| | ||
path = / | path = / | ||
Ligne 43: | Ligne 73: | ||
guest ok = yes | guest ok = yes | ||
- | We could have restricted guest ok to no, but, since no one is allowed to write to the share, and it’s only family on our network, it was easier to allow guest access. The DVD and Blu-ray collections are on separate drives, but, to the end user browsing them from the network, they just appear as separate folders. | + | We could have restricted guest ok to no, but, since no one is allowed to write to the share, and it’s only family on our network, it was easier to allow guest access. The DVD and Blu-ray collections are on separate drives, but, to the end user browsing them from the network, they just appear as separate folders.** |
- | This covers the sharing side of things. Once you’ve put content in one of the mount points, getting it in to KODI to be scraped is fairly simple. In KODI, click: | + | [dvd] |
+ | | ||
+ | path = / | ||
+ | | ||
+ | read only = yes | ||
+ | guest ok = yes | ||
+ | |||
+ | [blueray] | ||
+ | | ||
+ | path = / | ||
+ | | ||
+ | read only = yes | ||
+ | guest ok = yes | ||
+ | |||
+ | Nous aurions pu régler guest (invité) sur no, mais puisque personne ne peut écrire sur le partage et que notre réseau n'est que familial, c' | ||
+ | |||
+ | **This covers the sharing side of things. Once you’ve put content in one of the mount points, getting it in to KODI to be scraped is fairly simple. In KODI, click: | ||
Movies > Add videos > Browse | Movies > Add videos > Browse | ||
Ligne 51: | Ligne 97: | ||
Browse to a directory like / | Browse to a directory like / | ||
- | The next screen lets you set the type of content in the directory. Choose from Movies, Music videos, None. or TV shows. After you pick the type of content, KODI will list an initial “information provider.” The information provider is the site KODI scrapes for the Movie/Music video/TV show information. If you have movies in their own sub-folder, you can select the Movies are in separate folders that match the movie title switch, but even if you leave this off, KODI will scrape movies in sub-folders as long as you leave the Scan recursively switch set to on. | + | The next screen lets you set the type of content in the directory. Choose from Movies, Music videos, None. or TV shows. After you pick the type of content, KODI will list an initial “information provider.” The information provider is the site KODI scrapes for the Movie/Music video/TV show information. If you have movies in their own sub-folder, you can select the Movies are in separate folders that match the movie title switch, but even if you leave this off, KODI will scrape movies in sub-folders as long as you leave the Scan recursively switch set to on.** |
- | Clicking on OK will prompt you if you want to refresh information for all items within this path. Click OK to begin scraping. Now, if you escape back to the main KODI interface, some movies should be listed under Movies. There are a number of reasons why a movie might not be listed, but it mostly boils down to naming media correctly. The KODI wiki is the authoritative source on naming media for KODI, and covers a lot of different scenarios (for example: DVD movies spread across 2 files/ | + | Voilà pour le côté partage des choses. Une fois que vous aurez mis du contenu sur un des points de montage, le déplacer vers KODI pour qu'il récupère toutes les informations nécessaires est assez simple. Dans KODI, cliquez sur : |
+ | |||
+ | Films > Ajouter > Parcourir | ||
+ | |||
+ | Naviguez vers un répertoire comme / | ||
+ | |||
+ | L' | ||
+ | |||
+ | **Clicking on OK will prompt you if you want to refresh information for all items within this path. Click OK to begin scraping. Now, if you escape back to the main KODI interface, some movies should be listed under Movies. There are a number of reasons why a movie might not be listed, but it mostly boils down to naming media correctly. The KODI wiki is the authoritative source on naming media for KODI, and covers a lot of different scenarios (for example: DVD movies spread across 2 files/ | ||
http:// | http:// | ||
Ligne 59: | Ligne 113: | ||
http:// | http:// | ||
- | If a movie (that you know is in the path) doesn’t get scraped, click the settings gear in the top left corner, then click the Event log. | + | If a movie (that you know is in the path) doesn’t get scraped, click the settings gear in the top left corner, then click the Event log.** |
- | This is a bit of a simplified overview of our KODI server setup. Over the years, it’s morphed a lot, so a lot has changed: device names, the way we named our media, even what got included with the media. When we first used transcode to rip DVDs, we never ripped subtitles. Handbrake makes everything so easy that we started ripping subtitles. DVDs we ripped before we started, including subtitles, all got thrown into the top level DVD folder / | + | Si vous cliquez sur OK, KODI vous demandera si vous voulez rafraîchir les informations pour tous les éléments dans ce chemin. Cliquez sur OK pour commencer la récupération. Maintenant, si vous retournez (en appuyant sur ÉCHAP) à l' |
+ | |||
+ | http:// | ||
+ | http:// | ||
+ | http:// | ||
+ | |||
+ | Si les informations concernant un film (qui est sans aucun doute dans le chemin) ne sont pas récupérés, | ||
+ | |||
+ | **This is a bit of a simplified overview of our KODI server setup. Over the years, it’s morphed a lot, so a lot has changed: device names, the way we named our media, even what got included with the media. When we first used transcode to rip DVDs, we never ripped subtitles. Handbrake makes everything so easy that we started ripping subtitles. DVDs we ripped before we started, including subtitles, all got thrown into the top level DVD folder / | ||
cd “/ | cd “/ | ||
Ligne 67: | Ligne 129: | ||
Tab-completion works if you use quotes. | Tab-completion works if you use quotes. | ||
- | This might seem like the least planned media setup in the history of media centers, and looking at the /etc/fstab, it looks like a mess, but it’s an evolution of a system started back when KODI was still XBMC 10.0, using very different hardware. We’ve considered shelling out for a NAS, or simply buying one, but we like having a server that we can exit to a desktop and use if we needed so see something not in KODI. | + | This might seem like the least planned media setup in the history of media centers, and looking at the /etc/fstab, it looks like a mess, but it’s an evolution of a system started back when KODI was still XBMC 10.0, using very different hardware. We’ve considered shelling out for a NAS, or simply buying one, but we like having a server that we can exit to a desktop and use if we needed so see something not in KODI. ** |
+ | |||
+ | Ceci est en quelque sorte un aperçu simplifié de la configuration de notre serveur KODI. Au fil des ans, elle s'est beaucoup transformée et a beaucoup changé : le nom des dispositifs, | ||
+ | |||
+ | cd "/ | ||
+ | |||
+ | Si vous utilisez les guillemets, la complétion automatique de la commande fonctionne en appuyant sur la touche tabulation après avoir tapé quelques lettres. | ||
+ | Tout ceci peut ressembler à la configuration média la moins bien planifiée dans l' |
issue125/coinkodi.1506877509.txt.gz · Dernière modification : 2017/10/01 19:05 de auntiee