Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222) +--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112) +--- Thread: Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] (/showthread.php?tid=194362) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
|
RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - FreeMan xbmc - 2017-08-04 It took a bit to find it, but I'm very happy to see this thread is still alive and well! I bought my Asus Chromebox-M004U in late 2014, installed v3.5 or 3.6 from the OP and haven't messed with it since except for updating versions of Kodi. I did install XBMCbuntu at the time, and I've had to do a few rounds of `apt-get update ...` and `apt-get upgrade...` to keep both Ubuntu and Kodi up to date. I'm currently running Ubuntu 14.04.5 LTS and Kodi 17.3. Around the time that I upgraded to Kodi 17, I noticed that many times when I'm navigating my video files (I have TV shows & Movies in libraries, but watch a lot of sports that are just sorted into directory structures & not managed by the library), I can get through the directory structure quickly, however, when I go to open the lowest level directory that actually contains files to watch, it can take quite a bit of time for Kodi to respond with the directory listing. Like 15-30 seconds long time. It's accessing all of its media from my server (unRAID) across the network, but the slowdown was distinctly in relation to the upgrade to 17, and there weren't server changes at that time. I've got a 16GB SSD in the box and disk usage seems to be at a bit of a premium: Code: xbmc@xbmc:~$ df -ah In particular /dev/sda1 is at 98% utilization (which is actually good, I've seen it at 100%). Is this what's causing directory scanning to run so slowly? A very large portion of the disk space appears to be taken up with .JPG or .TBN files, so I turned of the 'automatically create thumbnail' setting, deleted a random selection of thumbnails, and that seems to have helped a bit with directory browsing. I do know that reiserfs struggles mightily when disks are near capacity, but: Code: xbmc@xbmc:~$ sudo file -sL /dev/sda SSDs are reasonably cheap these days, would putting a larger drive in likely resolve this issue? Since it's been...removes socks... nearly 3 years since I had the box open, I don't remember exactly what kind of drive it's got in it. Is it a "standard" SSD (what's the max thickness I could install), or is it one of the m.2 type or something else? Thanks for making it so very easy to have so many trouble free years of Kodi usage on a super cheap, totally silent box! RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-08-04 (2017-08-04, 01:04)FreeMan xbmc Wrote: It took a bit to find it, but I'm very happy to see this thread is still alive and well! Kodibuntu hasn't been supported by Team Kodi in years, and the LTS kernel used by Ubuntu 14.04 is certainly lacking compared to more up-to-date ones. If you don't have a compelling reason to use a "full" Linux distro, you might be better off backing up your Kodi userdata and starting fresh with LibreELEC (after updating your box to the latest UEFI firmware). That said, your issue sounds like it's SAMBA related, which could be something at the OS level, or it could be a Kodi issue. Have you tried browsing the SMB shares outside of Kodi to see if the Ubuntu file manager shows the same sluggishness? I'm using 17.3 myself and have all my media on a NAS, and have no issues browsing the directories, but I'm running LE 8.0.2. Quote:SSDs are reasonably cheap these days, would putting a larger drive in likely resolve this issue? Since it's been...removes socks... nearly 3 years since I had the box open, I don't remember exactly what kind of drive it's got in it. Is it a "standard" SSD (what's the max thickness I could install), or is it one of the m.2 type or something else? http://kodi.wiki/view/Chromebox#Recommended_Accessories_.2F_Hardware_Upgrades of course, if you switch to LE, 16GB is more than enough RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - FreeMan xbmc - 2017-08-06 Thanks for the feedback! No, I haven't browsed the SMB shares from outside the Kodi interface. I SSH'd into the box and when I go to ~/Movies (for example), the directory is empty because everything is stored remotely. I don't know enough about SAMBA to understand how Kodi is gaining access to the server, so I don't know where to go to see the network. Given some directions, I'll happily follow them! A couple of questions about your response: 1) What's the difference between Open & Libre ELEC? I recall OpenELEC from a number of years back, but don't know anything about the LibreELEC version. 2) If I recall, OpenELEC wouldn't support a number of (possibly any) different skins. I've become a big fan of the various Aeon skins and would prefer to continue to use it if possible, but if leaving it behind is going to be the best/only recommended solution for going forward, I guess I'll live. 3) If I go this route, what are the steps to update the BIOS? When I originally ran your script, I selected option 3 to install XBMC/KODI on the internal drive, so I don't believe I even have the ChromeOS option at boot anymore. This is my "TV appliance" so I definitely don't need anything remotely like a full Linux install. 4) If I go this route, will the 16GB drive not fill rapidly again with thumbnails, potentially causing the slow browsing issues or at least disk full issues if/when I attempt to update? RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - FreeMan xbmc - 2017-08-06 Doing some actual reading here: http://kodi.wiki/view/Chromebox#OS_and_Kodi_Installation it looks like the GalliumOS+Kodi option may be my better bet for what I want. I'll wait for input, though. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-08-06 (2017-08-06, 17:40)FreeMan xbmc Wrote: Thanks for the feedback!open up your file manager in Ubuntu and go to: smb://<NAS IP address> Quote:A couple of questions about your response:the founder of OpenELEC wanted to maintain absolute control over the project, but had a habit of disappearing for periods of time leaving the developers in a bind. So they forked the project, formed LibreELEC, and that's where all the development happens now. OpenELEC is essentially dead. Quote:2) If I recall, OpenELEC wouldn't support a number of (possibly any) different skins. I've become a big fan of the various Aeon skins and would prefer to continue to use it if possible, but if leaving it behind is going to be the best/only recommended solution for going forward, I guess I'll live.I don't recall this ever being the case; there are no limitations on what skin can be used as that's a Kodi function, not an OS one. Quote:3) If I go this route, what are the steps to update the BIOS? When I originally ran your script, I selected option 3 to install XBMC/KODI on the internal drive, so I don't believe I even have the ChromeOS option at boot anymore. This is my "TV appliance" so I definitely don't need anything remotely like a full Linux install.from Ubuntu, open a terminal and run the EZ Setup Script again. Update the firmware, power down, boot up the LibreELEC install media, and off you go. Obviously you'll want to back up your Kodi userdata and create the LE install media before flashing the firmware. Quote:4) If I go this route, will the 16GB drive not fill rapidly again with thumbnails, potentially causing the slow browsing issues or at least disk full issues if/when I attempt to update?potentially, but you can always have Kodi store the thumbnails on the NAS - that's what I do. Just add the following to advancedsettings.xml in your userdata folder: Code: <pathsubstitution> (2017-08-06, 17:58)FreeMan xbmc Wrote: Doing some actual reading here: http://kodi.wiki/view/Chromebox#OS_and_Kodi_Installation it looks like the GalliumOS+Kodi option may be my better bet for what I want. I'll wait for input, though.I really think LibreELEC is the best option from what you've told me so far. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - nickr - 2017-08-06 As far as space is concerned my LibreELEC storage partition shows: Code: Filesystem Size Used Available Use% Mounted on I have 810 movies and 465 TV series, many of them multi-season. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - FreeMan xbmc - 2017-08-10 Thanks for the tips, Mr. Chromebox! I'll probably settle in for a bit of updating this weekend. And thanks again for the great tools! RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - AP0ll0UK - 2017-08-16 Hi Matt I'm running the latest LibreElec on my Chromebox and my connections are Chromebox to TV via HDMI, TV to DTS Receiver via Optical / SPDIF. Do you know what the recommended config is within Kodi please as the audio isn't synchronised. I can fix this for the majority of the time by changing the audio delay and making it +0.250 but this doesn't always work. Also, do you have a 4K TV and if so then do you have Kodi running at 1080p @ 60fps, or do you have it at 2160p @ 24 / 30fps? I'm tryng to find a happy medium and my TV seems keen to upscale which is fine for 720p / 1080p media, but it's seems to be causing me issues with older 480p stuff. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-08-16 (2017-08-16, 10:05)AP0ll0UK Wrote: Hi Matt 250ms is a pretty massive delay in terms of video processing from the TV's end. I use HDMI for audio so everything is clock synced, but you can try setting 'Sync playback to display' under Settings/Player/Video and the 'Enable Dolby Digital transcoding' option under Settings/System/Audio. for 4K, I'd keep the GUI at 1080p60, and if you have 'Adjust display refresh rate' set to 'On start/stop' under Settings/Player/Video, then it should upscale everything 24/30Hz to 2160p and 50/60Hz to 1080p. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - AP0ll0UK - 2017-08-17 Thanks for your advice Matt. I'll have a look at those settings today and report back once I've done some testing. Thanks again RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - riceandfajitas1 - 2017-08-18 (2017-08-16, 23:16)Matt Devo Wrote:(2017-08-16, 10:05)AP0ll0UK Wrote: Hi Matt I notice when I set the GUI to 1080p60, my Samsung KS8000 doesn't let me set Picture Mode to "Movie." It only gives me Standard and Dynamic. I regain Movie mode when I actually play the video. When I switch from Game Mode, I have to wait until the file is playing to be able to get it back to Movie Mode. So to bypass that issue, I set the GUI to 1080p30. Is that setting okay? I usually only play standard 1080p 24fps files. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-08-18 (2017-08-18, 05:39)riceandfajitas1 Wrote: I notice when I set the GUI to 1080p60, my Samsung KS8000 doesn't let me set Picture Mode to "Movie." It only gives me Standard and Dynamic. I regain Movie mode when I actually play the video. When I switch from Game Mode, I have to wait until the file is playing to be able to get it back to Movie Mode. So to bypass that issue, I set the GUI to 1080p30. Is that setting okay? I usually only play standard 1080p 24fps files. sigh, Samsung's janky firmware strikes again. In that case, either 1080p30 or 2160p30 would be fine, the GUI will just be a little less fluid/smooth at 30Hz vs 60Hz RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - riceandfajitas1 - 2017-08-19 Thanks, I guess I'll just keep it that way. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - AP0ll0UK - 2017-08-29 (2017-08-16, 23:16)Matt Devo Wrote:I'm still playing at the moment. I can't see to resolve the audio delay issue. I've defaulted the audio delay at +250ms for now. I've seen this before with my old TV but the same theatre kit. I can't remember how I fixed it but it was a fix verses a cludge that I've got at the moment. I'd point the finger at the theater kit but I can't say I notice it when I'm gaming on my PC. More testing is probably needed though to flush it out either way.(2017-08-16, 10:05)AP0ll0UK Wrote: Hi Matt Changing the resolution seems to have unearthed a slightly different issue which is the Kodi booting up with a single cursor flash and then a blank screen. The box is up and I can SSH to it, just nothing on the screen. Never seen this before and it's not like the box is booting up in a resolution which isn't supported by the TV. I'm guessing it's some negotiation going on between the TV and the box, something is going amiss hence the blank display. I'll be going through the debug log to see what's what and will let you know. Sent from my Nexus 6P RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - zachg - 2017-08-31 There is also a way to run kodi inside of ChromeOS, rather than dual booting. Check out my HOW-TO here: https://forum.kodi.tv/showthread.php?tid=320808 ([CHROMEOS] HOW TO - Install Kodi on ChromeOS using Crouton) This is not an attempt to disrespect the work done here, just to make others aware of a new way. |