Posts: 6,255
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,255
2013-09-08, 15:21
(This post was last modified: 2013-09-09, 06:55 by topfs2.)
One thing that always bugged me was that even in "file mode" I have to add a source/share even for local HDDs, USB HDDs and other situations where I only do onetime lookups and never will use that specific source/share again. So instead of having to always add a source/share for this and delete it again I came up with the idea of a "browse file system" share which is always present. This special share would then trigger the same VFS structure that's shown when one browses for the folder while adding a new share. What do you guys think?
Posts: 31,445
Joined: Jan 2011
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
be careful here. there is potential to disable certain "security" checks in stuff such as jsonrpc (refuse to read a file that isn't in a source). with this meta source, a file would always originate from a source and would be allowed.
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
I realize we have 2 notions: "share" and "source".
Shares are basically anything we can reach, while sources are the association of a share and a scrapper.
The proper way seem to be the creation of a "shares://" VFS...
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
they are the same. just a partially-done rename (used to be called shares, was renamed sources at some point).
Posts: 31,445
Joined: Jan 2011
2013-09-09, 21:06
(This post was last modified: 2013-09-09, 21:07 by Ned Scott.)
(2013-09-09, 15:56)Koying Wrote: I realize we have 2 notions: "share" and "source".
Shares are basically anything we can reach, while sources are the association of a share and a scrapper.
The proper way seem to be the creation of a "shares://" VFS...
I don't suppose we could axe the whole sources.xml thing and just use the video/music/etc DBs for sources/shares? It always seemed odd to me that it's so easy to get in a situation where you can remove a share, but the source that gets scraped/updated can remain. Users wonder how certain folders still get scanned for library updates, even though they believe they've been removed. The source can easily remain "orphaned" in the DB, with no clear cut way to access it, as only "shares" are listed in the GUI.
I'm not sure if that's within the scope of this discussion/work, but I thought I'd bring it up.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
One thing to consider is that some folk use the files node as their main entry point to their video library. Thus, having a "browse all" or some such would be a better option, though some may not even like that.
Cheers,
Jonathan
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Are we talking about the file manager or the files node/view of the video library?
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.