Is it possible to create custom folders under storage? For example, I'd like to have a "Movies" folder for my movies and a "Music Videos" folder for my music videos.
Custom folders under storage?
-
odellkevin -
October 11, 2016 at 5:45 PM -
Thread is Unresolved
-
-
- Official Post
Sure, just make sure the sources in the Kodi GUI are directed to the correct folders.
-
Sure, just make sure the sources in the Kodi GUI are directed to the correct folders.I was able to create the folders via the Kodi File Manager, but when I browse the directory from a Windows computer, none of the newly created folders show up. I have to copy content into one of the folders that does show up (ie. Videos), and then go in through the Kodi File Manager and move them from videos to movies.
-
Sharing files from OpenELEC - OpenELEC it's the same in LE.
-
I was able to create the folders via the Kodi File Manager, but when I browse the directory from a Windows computer, none of the newly created folders show up. I have to copy content into one of the folders that does show up (ie. Videos), and then go in through the Kodi File Manager and move them from videos to movies.
Edit your samba.conf file - or make it from samba.conf.sample in storage/.config (the .config folder shows up as 'Configfiles' in windows explorer by default).
My samba.conf as an example - it's easy enough to edit, I just use notepad++ and chuck it in storage/.config, then reboot.Quote
################################################################################
# This file is part of OpenELEC - OpenELEC Mediacenter - Home
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <Licenses - GNU Project - Free Software Foundation>.
################################################################################
# samba.conf# This configuration file allows you to customize the samba shares
# available from your machine[global]
server string = LibreELEC
workgroup = WORKGROUP
netbios name = %h
security = share
guest account = root
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
smb ports = 445 139
max protocol = SMB2
min receivefile size = 16384
deadtime = 30
os level = 20
mangled names = no
syslog only = yes
syslog = 2
name resolve order = lmhosts wins bcast host
preferred master = auto
domain master = auto
local master = yes
printcap name = /dev/null
load printers = no
browseable = yes
writeable = yes
printable = no
encrypt passwords = true
enable core files = no
passdb backend = smbpasswd
smb encrypt = disabled
use sendfile = yes# Using the following configurations as a template allows you to add
# writable shares of disks and paths under /storage[Flash drive]
path = /flash
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /flash[Storage]
path = /storage
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage
#[Update]
# path = /storage/.update
# available = yes
# browsable = yes
# public = yes
# writable = yes
# root preexec = mkdir -p /storage/.update#[Videos]
# path = /storage/videos
# available = yes
# browsable = yes
# public = yes
# writable = yes
# root preexec = mkdir -p /storage/videos#[Music]
# path = /storage/music
# available = yes
# browsable = yes
# public = yes
# writable = yes
# root preexec = mkdir -p /storage/music#[TV Shows]
# path = /storage/tvshows
# available = yes
# browsable = yes
# public = yes
# writable = yes
# root preexec = mkdir -p /storage/tvshows#[Recordings]
# path = /storage/recordings
# available = yes
# browsable = yes
# public = yes
# writable = yes
# root preexec = mkdir -p /storage/recordings#[Downloads]
# path = /storage/downloads
# available = yes
# browsable = yes
# public = yes
# writable = yes
# root preexec = mkdir -p /storage/downloads#[Pictures]
# path = /storage/pictures
# available = yes
# browsable = yes
# public = yes
# writable = yes
# root preexec = mkdir -p /storage/pictures#[Emulators]
# path = /storage/emulators
# available = yes
# browsable = yes
# public = yes
# writable = yes
# root preexec = mkdir -p /storage/emulators[Configfiles]
path = /storage/.config
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/.config[Kodi]
path = /storage/.kodi
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/.kodi
#[Userdata]
# path = /storage/.kodi/userdata
# available = yes
# browsable = yes
# public = yes
# writable = yes
# root preexec = mkdir -p /storage/.kodi/userdata#[Screenshots]
# path = /storage/screenshots
# available = yes
# browsable = yes
# public = yes
# writable = yes
# root preexec = mkdir -p /storage/screenshots[Logfiles]
path = /storage/logfiles
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /storage/logfiles
root preexec = createlog#[Backup]
# path = /storage/backup
# available = yes
# browsable = yes
# public = yes
# writable = yes
# root preexec = mkdir -p /storage/backup
[USB Drives]
path = /media
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /media
[emmc internal sd]
path = /media/Beelinkextra/internalemmc/media/0
available = yes
browsable = yes
public = yes
writable = yes
Just noticed mine's still an old one from from openelec - you can see I've added some shares and #ed out others I never use. Use your original samba.conf.sample file as a template, make your changes, re-name to samba.conf, reboot.Edit: didn't see Grimson's post when I started writing that. Same thing.