Kodi sees all files as folders on nfs mounted share.
Any suggestions, pls.
Kodi sees all files as folders on nfs mounted share.
Any suggestions, pls.
Hello!
I have nfs mount like this:
192.168.1.254:/tmp/mnt/WD-MPU/export/HOME /tmp/g nfs ro,sync,noexec,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,hard,noac,proto=tcp,port=2049,timeo=70,retrans=3,sec=sys,local_lock=none,addr=192.168.1.254 0 0
Files under the the /tmp/g are vissible like this:
A95X:~ # ll /tmp/g/Film/
total 120230272
drwxrwxr-x 1 root 1000 4096 May 12 2014 Harry.Potter.Collection.720p/
-rwxrwxr-x 1 root 1000 12401529513 May 18 2014 Аватар.1080p.mkv*
-rwxrwxr-x 1 root 1000 12225908953 May 14 2014 Алиса в стране чудес.1080p.mkv*
-rwxrw-rw- 1 root root 8333517053 Apr 24 00:56 Бойцовский клуб.1080p.mkv*
-rwxrwxr-x 1 root 1000 18805101843 Oct 23 2014 Волк с Уолл стрит.mkv*
-rwxrw-rw- 1 root 1000 15718467532 Nov 1 2015 Грань будущего.mkv*
-rwxrw-rw- 1 root root 6322037120 Apr 23 21:26 День сурка.720p.mkv*
drwxrwxr-x 1 root 1000 4096 Jun 15 2014 Матрица.1080p/
-rwxrw-rw- 1 root root 8331810053 Sep 3 14:44 Остров проклятых.1080p.mkv*
drwxrwxr-x 1 root 1000 4096 Oct 15 2016 Парк юрского периода/
-rwxrwxr-x 1 root 1000 8639837076 Sep 3 2015 Патруль времени.mkv*
-rwxrwxr-x 1 root 1000 16037691810 May 19 2015 Побег из Шоушенка.mkv*
drwxrwxr-x 1 root 1000 8192 Jun 13 19:34 Сов.Рос.Кино/
drwxrw-rw- 1 root root 4096 Jul 10 21:38 Терминатор/
-rwxrwxr-x 1 root 1000 16299835743 Oct 4 2014 Форрест Гамп.1080p.mkv*
-rw-r--r-- 1 root root 36 Sep 17 12:18 Форрест Гамп.1080p.mkv.cuts
A95X:~ #
Display More
But when I add a video source like this:
<source>
<name>g</name>
<path pathversion="1">/tmp/g/</path>
<allowsharing>true</allowsharing>
</source>
all my videos (.avi, .mkv etc) kodi sees as a directories and when I press OK on remote it tries to "cd" in them:
19:26:51.843 T:4102449248 DEBUG: OnKey: return (0xf00d) pressed, action is Select
19:26:51.847 T:4102449248 DEBUG: CGUIMediaWindow::GetDirectory (/tmp/g/Film/Побег из Шоушенка.mkv/)
19:26:51.847 T:4102449248 DEBUG: ParentPath = [/tmp/g/Film/]
19:26:51.861 T:4102449248 ERROR: GetDirectory - Error getting /tmp/g/Film/Побег из Шоушенка.mkv/
19:26:52.648 T:4102449248 ERROR: CGUIMediaWindow::GetDirectory(/tmp/g/Film/Побег из Шоушенка.mkv/) failed
19:26:52.649 T:4102449248 DEBUG: CGUIMediaWindow::GetDirectory (/tmp/g/Film/)
19:26:52.649 T:4102449248 DEBUG: ParentPath = [/tmp/g/]
19:26:53.627 T:3686806432 DEBUG: Thread BackgroundLoader start, auto delete: false
19:26:53.638 T:4102449248 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
19:26:55.103 T:3686806432 DEBUG: Thread BackgroundLoader 3686806432 terminating
19:27:07.758 T:4102449248 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:27:07.759 T:4102449248 DEBUG: OnKey: down (0xf081) pressed, action is Down
19:27:07.929 T:4102449248 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:27:08.253 T:4102449248 DEBUG: Previous line repeats 1 times.
19:27:08.253 T:4102449248 DEBUG: OnKey: down (0xf081) pressed, action is Down
19:27:08.529 T:4102449248 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:27:08.530 T:4102449248 DEBUG: Previous line repeats 1 times.
19:27:08.530 T:4102449248 DEBUG: OnKey: down (0xf081) pressed, action is Down
19:27:08.887 T:4102449248 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:27:10.321 T:4102449248 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
19:27:10.678 T:4102449248 DEBUG: OnKey: return (0xf00d) pressed, action is Select
19:27:10.684 T:4102449248 DEBUG: CGUIMediaWindow::GetDirectory (/tmp/g/Film/Форрест Гамп.1080p.mkv/)
19:27:10.684 T:4102449248 DEBUG: ParentPath = [/tmp/g/Film/]
19:27:10.699 T:4102449248 ERROR: GetDirectory - Error getting /tmp/g/Film/Форрест Гамп.1080p.mkv/
19:27:11.455 T:4102449248 ERROR: CGUIMediaWindow::GetDirectory(/tmp/g/Film/Форрест Гамп.1080p.mkv/) failed
19:27:11.456 T:4102449248 DEBUG: CGUIMediaWindow::GetDirectory (/tmp/g/Film/)
19:27:11.456 T:4102449248 DEBUG: ParentPath = [/tmp/g/]
19:27:12.328 T:3686806432 DEBUG: Thread BackgroundLoader start, auto delete: false
Display More
Mounting by smb works well.
PS. I have Nexbox A95X 1/8 and LibreElec 8.1.8
WiFi connection.
PPS. It is quite possible that unfsd (user space nfs daemon) running on my NAS is quite buggy, but my other boxes (sat receivers and bd-player) see my nas pretty well.
Thanks.
If you do not mind the remark: "I believe" belongs to the church. If you want to argue, please give empirical results from repeatable tests.
Have you read my earlier message?
[hr]
Display More
Android works well with power on/off and suspension on "nexbox a95x s905 1/8".
I use xbmc-launcher on android 5.1. It has different power options.
Network connection is wifi.
So:
Full powering off and then powering on (with rcu) displays bootlogo.
Suspend box --> the box cease to respond to ping and RCU (cursor position is not changed if I press navigation keys on remote).
Waking up from this mode with remote works well, of course.
How can I make sure that suspension on "nexbox a95x s905 1/8" is not real suspension?
And of course red led shines when this box is in poweroff or "suspension" state.
NOT blue one.
THE ONLY BOX with this power
issue is the Nexbox A95X S905 1gb/8gb.
Oops!..
I can understand your frustration, as my MXQ Pro 4k is also affected.
It is NOT "THE ONLY" already. Is it?
[hr]
It is the job of this bootloader to wait for a power-on event (remote code, power button press, ...) and re-start the operating system.
Yes. And it performs well when the operating system IS android.
I believe libreelec shuts down hardware incorrectly.
So how do you come up with an opinion that this is an LE bug and kszaq is wrong.?
Android works, libreelec does not. That's it.
Besides as I know some android based custom roms have the same issue.
Are you asking a question about Android Firmware on your Nexbox A95x S905 or are you talking about LibreELEC issues ?
There is no mention about LibreELEC in your details.
You and kszaq both told that the on/off issue in a95x s905 1/8 is the firmware bug.
So, as I can see you both were wrong.
Some time ago kszaq told that android on my box does not use true suspension and shuts down hdmi only.
So, again, as I can see it is not true.
So. As I understand "on/off issue on a95x s905 1/8" is totally libreelec bug. Not box's firmware.
"Android powers on" from complete Shutdown? Or just from stand by (no bootlogo, animation etc.)?
Android works well with power on/off and suspension on "nexbox a95x s905 1/8".
I use xbmc-launcher on android 5.1. It has different power options.
Network connection is wifi.
So:
Full powering off and then powering on (with rcu) displays bootlogo.
Suspend box --> the box cease to respond to ping and RCU (cursor position is not changed if I press navigation keys on remote).
Waking up from this mode with remote works well, of course.
How can I make sure that suspension on "nexbox a95x s905 1/8" is not real suspension?
I believe the S905X Chip firmware powers on but not the S905 .
That " Chip firmware" in my nexbox a95x s905 1/8 with android august-2016 installed turns off and on the box perfectly.
At the same time it can not turn on the box after powering it off from libreelec.
@ALL
People! What "suspend" are you talking about? Does it concern on/off issue on nexbox or something else?
as it's listed under known issues.. once He has a fix he will remove it from the known issues section..
Could you be so kind to point me the to right words in "known issues section" where master says about impossibility to turn box on after it was turned off ?
Thank you.
Besides, there is a topic on nexbox's site about the issue.
[hr]
Nexbox issue with Uboot
I know this.
To fix uboot they should release an update to their android?
Hello!
Are there any news (hopes?) regarding on/off issue in nexbox a95x (1/8 s905)?
Thanks!
There's no Lirc and hence no irexec in these builds, so maybe not that straightforward.
You're right. Kodi uses input device directly.
@All
Does internal installation have the same issue whith on/off like sd one on nexbox a95x 1/8?
Thanks.
trogggy
As I understand irexec can run some external programm. If it's true the script like this
#! /bin/sh
if [ -z "$(pidof kodi.bin)" ]; then systemctl start kodi.service; else systemctl stop kodi.service; fi
should work.
IMHO.
There's no Lirc and hence no irexec in these builds, so maybe not that straightforward.
It is there
LibreELEC:~ # which irexec
/usr/bin/irexec
LibreELEC:~ # /usr/bin/irexec -h
Usage: /usr/bin/irexec [options] [config_file]
-h --help display usage summary
-v --version display version
-d --daemon run in background
-n --name use this program name
LibreELEC:~ #
But simple stopping of kodi does not turn off hdmi
I programmed a small microcontroller to learn infrared codes and either simulate the hardcoded infrared code or simulate the button press directly. I think this could help you. Also I added a fan control to cool the device. I could provide preprogrammed uCs.
I didn't understand anything you wrote.
I think to make workaround I suggested is not difficult.
All we need is to make kodi to ignore its "power" button (I think this controlled by /usr/share/kodi/system/keymaps/remote.xml), and use irexec to execute system command like this: "systemctl start/stop kodi.service"
Maybe kszaq would be so kind to suggest the correct "key code" that should be caught?
Thank you!
Just leave it on, they take very little power.
The box is quite hot and I'm not sure is it safe to leave it on all the time.
Besides, the only purpose for this box for me is watching stream TV from my vu+ satellite receiver on another TV with "VU+ / Enigma2 Client" kodi add-on. So if I leave the box on, it leaves sat receiver busy.
@kszaq
Stupid suggestion. If true power on/off is not possible, may be you can think about just shutting down kodi and starting it up again with rcu power button?
You have to contact Nexbox and tell them to fix their u-boot. They ignored my requests, maybe they won't ignore you.
I see...
I foresee their reply. They sold the andriod box. Because there is no on/off problem in android so they have nothing to fix...
Any way, thank you!
Hi kszaq!
Sorry for my stupid question but have you any plan to fix on/off issue on s905 1g 8m boxes?
I have nexbox a95x (s905 1g 8m). On .007 I can switch it off but cant switch on again with rcu button. No matter whether wifi is connected or not.
On .005 it is not possible to switch box off when wi-fi is on. Even "reboot -f" in ssh does not work.
Thank you for your work!