Where is Kodi??
|
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Oct 13, 2015, 03:43 PM
Great, was that part of the guide already for the input group stuff?
Are you using the pre-built image with everything already installed or are you using the installer to install the programs you want?
Those programs all have their own web interface running on a specific port (the table is on the image page of ports and default usernames). If you want to be able to see them in Kodi then there are different add-ons which enable you to navigate the web interfaces of the programs within Kodi. I like to think of them as apps on smartphones, most apps are just front ends for web sites and merely uses a different interface to manage the backend.
Posts: 26
Threads: 3
Joined: Oct 2015
Reputation:
2
[Solved]
Oct 13, 2015, 04:36 PM
Hi!
Yes, i used the image with the installer where I can pick the programs myself. Worked like a charm. I found all the different programs in the ports through my browser. Now i'am following the guides on this website to configure them.
Doing that I found out that I can't add my hdd in kodi (going to videos and browse for a new share). Runing Lsusb it tells me the hdd is there and it does make note of it. It is a usb 3.0 external powered 3.5' hdd (a normal hdd in a casing). I formatted it NTFS and there are some standard transmission folders on there but nothing else. When I unplug the HDD in kodi, it tells me that the HDD is removed.. when I plug it in I get no message..
I also read about usb 3.0 HDD not being recognized.. but when I plug it into the pi through a usb 2.0 adapter the pi also does not recognize it..
Any ideas on what to do next? What kind of code to run maybe?
Thanks in advance!!
Jelle
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Oct 13, 2015, 04:43 PM
Did you follow my guide to mounting the hard drive?
Can you post your /etc/fstab and are you able to write to the hard drive via SSH on any folder?
Posts: 26
Threads: 3
Joined: Oct 2015
Reputation:
2
[Solved]
Oct 13, 2015, 05:12 PM
Using your guide to install my hdd I got this:
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
using etc/fstab/ i got this:
-bash: /etc/fstab: Permission denied
And can you please tell me how I can test writing to the hard drive on SSH?
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Oct 13, 2015, 06:02 PM
I need to see the contents of /etc/fstab, as the root user
Posts: 403
Threads: 26
Joined: Aug 2015
Reputation:
39
[Solved]
Oct 13, 2015, 07:02 PM
(Aug 18, 2015, 04:18 PM)Mike Wrote: Hmm there probably is a way to change it in the settings.xml file and enable it there but I've never tried. The Kodi web server isn't enabled by default but the default when it is enabled is port 80 with username kodi and blank password.
Your mouse and keyboard should work, what kind do you have? If you have many peripherals attached try unplugging everything but the keyboard/mouse as it could be a power issue
Code:
By default, it uses port 8080 as 80 requires root privileges.
https://wiki.archlinux.org/index.php/Kod..._webserver
My kodi on my RPI with Jessie is on 8080 and I haven't touched it. Works good with Yatze and my Samsung Remote Control
Posts: 26
Threads: 3
Joined: Oct 2015
Reputation:
2
[Solved]
Oct 13, 2015, 08:19 PM
/etc/fstab
root@raspberrypi:~# cat /etc/fstab
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 errors=remount-ro,noatime 0 1
UUID=4F72-0755 /mnt/usbstorage ntfs nofail,uid=pi,gid=pi 0 0
lsusb (I was wrong, I didn't see it under lsusb, but under fdisk-l )
root@raspberrypi:~# lsusb
Bus 001 Device 028: ID 174c:1153 ASMedia Technology Inc.
Bus 001 Device 027: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 026: ID 04f3:0210 Elan Microelectronics Corp. Optical Mouse
Bus 001 Device 025: ID 046d:c315 Logitech, Inc. Classic Keyboard 200
Bus 001 Device 024: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
fdisk -l
root@raspberrypi:~# fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0004a452
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 16 97727 97712 47.7M b W95 FAT32
/dev/mmcblk0p2 97728 31116287 31018560 14.8G 83 Linux
Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbe139800
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 976766975 976764928 465.8G 7 HPFS/NTFS/exFAT
Hope this helps any and thanks for the killer support..!!
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Oct 13, 2015, 08:43 PM
That is very helpful. Do you have more than one hard drive connected?
What does your output from blkid say?
What happens when you run sudo mount -a?
Try going into the mount point for the hard drive and creating a file and saving it
Code:
cd /mnt/usbstorage
nano test
write anything
Ctrl+X, Y and Enter
Any errors?
Posts: 26
Threads: 3
Joined: Oct 2015
Reputation:
2
[Solved]
Oct 14, 2015, 08:51 AM
(This post was last modified: Oct 14, 2015, 10:04 AM by DiscoSuperFly.
Edit Reason: More questions and stuff..
)
(Oct 13, 2015, 08:43 PM)Mike Wrote: That is very helpful. Do you have more than one hard drive connected?
What does your output from blkid say?
What happens when you run sudo mount -a?
Try going into the mount point for the hard drive and creating a file and saving it
Code:
cd /mnt/usbstorage
nano test
write anything
Ctrl+X, Y and Enter
Any errors?
No I don't have two harddrives detected.. I do have a harddrive cable with 2 usb cables, because this cable belongs to a other HDD which is a 2.5inch one and thus needs the extra usb power..
blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" UUID="4F72-0755" TYPE="vfat" PARTUUID="0004a452-01"
/dev/mmcblk0p2: UUID="18bb9f0f-3eb8-4584-9e2a-c19cd2b58d1e" TYPE="ext4" PARTUUID="0004a452-02"
/dev/sdb1: LABEL="500GBHDD" UUID="01D1029BBE0FFBC0" TYPE="ntfs" PARTUUID="be139800-01"
/dev/mmcblk0: PTUUID="0004a452" PTTYPE="dos"
Sudo mount -a
root@raspberrypi:~# sudo mount -a
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
Writing Test
[ Error writing test: Input/output error ]
Edit 1:
Hi!
I just re-did your mounting guide again, and changed my UUID= XXXX-XXXX to defaults.. and checked sudo mount -a to see no errors, also when running is I could see the directories inside..
When rebooting and checking Kodi again I couldn't see it as its original name in the directory list.. but I can find it under root/mnt/usbstorage.. I guess that will do? For setting up sickrage, couchpotato and transmission et all...?
Edit 2:
When using nano test to write anything now I don't see any errors coming up...
Edit 3:
Another question about the hdd and setting it up with sickrage et all.. So I found the HDD under root/mnt/usbstorage.. I put a folder called TV Download Dir there for sickrage to do the post processing.. I can't browse to the folder so I need to write the complete path in the post-processing tab configuration tab of sickrage.. is the complete folder then /root/mnt/usbstorage..? and no other letter like C or D or E before that?
Writing this makes me think that it's not so smart after all to acces the HDD through the boot directory.. let me know what you think..
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Oct 14, 2015, 10:37 AM
Looks like you're almost up and running. The mount point should be /mnt/usbstorage (it can be anything really) and not in the root folder /root/mnt/usbstorage as that will cause permission issues.
|
|
Recent Posts
|
Running Plex over a Split Tunnel VPN
jonescelinaa Yesterday, 09:19 AM
|
About Swap
jonescelinaa Apr 10, 2024, 06:58 AM
|
Tracker Status: Error Connection Time Out
jonesPhedra Apr 04, 2024, 08:17 AM
|
Plex server not powerful enough, but only with s...
jonesPhedra Mar 27, 2024, 03:02 AM
|
game Geometry Dash Scratch
jonescelinaa Jan 31, 2024, 04:21 AM
|
Latest unread posts | Unanswered posts |
|