question/feature suggestion

34 views
Skip to first unread message

Greg Perrone

unread,
May 30, 2012, 12:22:47 PM5/30/12
to MyMedia Roku Developers
Is there a way to set more than one folder to a particular library?
If not, does it seem like a worthwhile feature to add? I would like
to be able to organize my videos according to file type in separate
folders. I would find it very useful to be able to add multiple
folders to a library possibly delimited by a comma or semicolon
similar to the way windows handles the various path variables.

Brian Taylor

unread,
May 30, 2012, 5:00:48 PM5/30/12
to mymedia-rok...@googlegroups.com
Greg,

It's possible but not a quick fix. Parsing the input is easy (I like the comma separated idea) but teaching the code that consumes that data to expect a list of directories instead of just one is more tricky.

Do all of your format-named directories have a common parent? You could give that directory to MyMedia instead.


--
You received this message because you are subscribed to the Google Groups "MyMedia Roku Developers" group.
To post to this group, send email to mymedia-rok...@googlegroups.com.
To unsubscribe from this group, send email to mymedia-roku-deve...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mymedia-roku-developers?hl=en.


Greg Perrone

unread,
May 30, 2012, 10:00:07 PM5/30/12
to mymedia-rok...@googlegroups.com

They are actually on separate partitions.  I know some tricks that would allow me to mount those partitions under a parent folder, but the multi folder option would be much easier.

Greg Perrone

unread,
May 31, 2012, 8:03:39 AM5/31/12
to MyMedia Roku Developers
What I've done as a workaround is to use "mount --bind /old /new" to
include all of the folders under one parent. I am assuming that not
everyone is capable of doing this for one reason or another.

On May 30, 4:00 pm, Brian Taylor <el.w...@gmail.com> wrote:
> Greg,
>
> It's possible but not a quick fix. Parsing the input is easy (I like the
> comma separated idea) but teaching the code that consumes that data to
> expect a list of directories instead of just one is more tricky.
>
> Do all of your format-named directories have a common parent? You could
> give that directory to MyMedia instead.
>

Brian Taylor

unread,
May 31, 2012, 10:10:10 AM5/31/12
to mymedia-rok...@googlegroups.com
Good workaround.

xwin

unread,
Jun 1, 2012, 3:48:33 PM6/1/12
to MyMedia Roku Developers
On windows I use symlinks to place a directory under a root directory.
You need to use symlink not a shortcut. Works on XP and 7.

On May 31, 10:10 am, Brian Taylor <el.w...@gmail.com> wrote:
> Good workaround.
>

Brian Taylor

unread,
Jun 1, 2012, 3:49:39 PM6/1/12
to mymedia-rok...@googlegroups.com
How do you create symlinks in windows?

Greg Perrone

unread,
Jun 1, 2012, 8:42:47 PM6/1/12
to mymedia-rok...@googlegroups.com
You don't, but you can add mount points to a drive using the disk management utility.
From the start menu choose run and enter diskmgmt.msc .  Right=click the partition where your videos are actually stored and select "Drive letters and paths..."  -->  "add" --> "Mount in the following empty NTFS folder" and navigate to your folder of choice. Do NOT attempt to mount more than one partition to a folder.  It should fail, but should it mysteriously succeed, it could cause major corruption of the filesystem.

Greg Perrone

unread,
Jun 1, 2012, 8:57:13 PM6/1/12
to mymedia-rok...@googlegroups.com
Sorry, should have done my research better.  At least I learned something out of it.  Check this out http://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/ 

You could theoretically keep your video files on cloud storage, a network share, etc and "symlink" the folder to a synced location on your MyMedia server.  Way too many possibilities to list.  I'm becoming really happy I started this discussion.

xwin

unread,
Jun 16, 2012, 4:26:43 PM6/16/12
to MyMedia Roku Developers
You would use mklink command from the command line. That is what I
use. But there are also explorer extensions that can do that GUI way.

xwin

unread,
Jun 16, 2012, 4:28:09 PM6/16/12
to MyMedia Roku Developers
Windows had symlinks for a long time, probably since XP. It is not
common knowledge for some reason.

Brian Taylor

unread,
Jun 16, 2012, 4:34:24 PM6/16/12
to mymedia-rok...@googlegroups.com
No kidding. I had no clue. I could have really used this at work a long time ago.

Greg Perrone

unread,
Jun 26, 2012, 9:44:53 AM6/26/12
to mymedia-rok...@googlegroups.com
Microsoft is slowly catching up.  Before you know it you will be able to mount image files without third party software, and build virtual devices.  Symlinks where not previously thought of as necessary by MS. It was thought that shortcuts would be sufficient.  For the majority of users, they where correct.
Reply all
Reply to author
Forward
0 new messages