Pages: [1]   Go Down
Print
Author Topic: Placing movies in multiple genre folders without duplicating filespace  (Read 3320 times)
Kokkeman
Newbie

Offline Offline

Posts: 12


« on: April 27, 2011, 11:00:03 pm »

Hi all,

maybe it's allready explained in some topic but i couldnt find it.

Is it possible that a movie is vissable in 2 genre's ?

For instance, i have my folders like this: FILMS \ GENRE \ MOVIE

I have a movie called Pandorum and this is a Sci-Fi movie so i have placed it under FILMS\SCI-FI:

FILMS \ SCI-FI \ Pandorum (2009)\

But in the Movie  Wall i also want that Pandorum is shown under the genre HORROR.
Is that possible and how do i do that ? (please don't say to make a copy of the movie)

Please Enlight me / Thanks in advance
regards,
Stef

Logged

MED500XDD+ 2TB [FW V4.0.4]
Maasbommel
Global Moder8or
Hero Member
*****
Offline Offline

Posts: 8 533



« Reply #1 on: April 28, 2011, 06:30:40 am »

Video Wall uses hardlinks (HDD paths) so it is only possible to link that to one genre.
Logged

Read the  Mede8er 400X/500X Beginners Guide
or Mede8er 500X2/400X2/450X2 Beginners Guide

Also check the Technical Support Guidelines first.

Please don't PM me but post on the forum.
3kb6vs9b1
Experienced Member
**
Offline Offline

Posts: 115


media eater


« Reply #2 on: April 28, 2011, 08:25:24 am »

Put all genres to folder names as they are in IMDB. List  is long but informative.
Logged
Kokkeman
Newbie

Offline Offline

Posts: 12


« Reply #3 on: April 28, 2011, 02:33:35 pm »

Video Wall uses hardlinks (HDD paths) so it is only possible to link that to one genre.

Now thats a pitty  Embarrassed

Is it possible to see/browse trough all your movies on the videowall or do you have to browse per Genre/Folder ?
regards,
Stef
Logged

MED500XDD+ 2TB [FW V4.0.4]
Maasbommel
Global Moder8or
Hero Member
*****
Offline Offline

Posts: 8 533



« Reply #4 on: April 28, 2011, 07:34:59 pm »

Looking from the main screen of the video wall, you wil see an icon per created link.
If you only create one link and put all movies below, then you can browse through all movies at once.

Normal setup would however by to create a folder per genre and link every genre to the video wall.
Just check the manual or look at this demo movie to understand the concept:
http://www.youtube.com/watch?v=D4TvuYdnD4c
Logged

Read the  Mede8er 400X/500X Beginners Guide
or Mede8er 500X2/400X2/450X2 Beginners Guide

Also check the Technical Support Guidelines first.

Please don't PM me but post on the forum.
Insomniac
Moder8or
B8a Tester
Hero Member
***
Offline Offline

Posts: 1 670



« Reply #5 on: April 29, 2011, 07:39:10 am »

Is it possible that a movie is [visible] in 2 genre's ?

You could create additional hard links (file links) or junctions (folder links) of the same movie within different genre folders using an application such as Hard Link Shell Extension, but there are certain limitations:
  · The partition type must be NTFS
  · You can only create hard links within the same partition or drive - they cannot point to another one.

Additional links will not duplicate files or data storage - they are merely links to the original files.
This is a bit of a clumsy way of achieving your goal but you asked if it is possible, so the answer would be yes.
Logged

Questions? Please check the Mede8er Beginners Guide.

For technical assistance, please take note of the Technical support guidelines.

Ensure too that you are using the latest firmware when requesting support.
Insomniac
Moder8or
B8a Tester
Hero Member
***
Offline Offline

Posts: 1 670



« Reply #6 on: May 07, 2011, 05:57:11 pm »

(I have split and moved this dialogue from the original thread as it was off-topic, and yet may be of use to others.
Standing as a topic on its own this subject matter may be discussed in its own right and not pollute the original dialogue.)


One could effectively create a collection of folder 'junctions' in a single drive which neatly link to the original folders or drive paths.

The use of 'junctions' may thus be useful to other members, but be warned - such a 'junction' links you to the original folder content, so deleting or changing said content within a 'junction' link will effectively perform this action on the original files - they are not shortcuts.

I must thus place a warning for those unfamiliar with this subject:
WARNING - HANDLE 'JUNCTIONS' AND 'HARD LINKS' WITH CAUTION!
Use test data until you understand how this functionality works or you could delete your prized media collection!
Logged

Questions? Please check the Mede8er Beginners Guide.

For technical assistance, please take note of the Technical support guidelines.

Ensure too that you are using the latest firmware when requesting support.
3kb6vs9b1
Experienced Member
**
Offline Offline

Posts: 115


media eater


« Reply #7 on: May 12, 2011, 09:40:38 pm »

I wish this will be implemented in some media scraper (TG, YAMJ, Multimedia Collection Organiser)
Logged
orchid59
Newbie

Offline Offline

Posts: 19


« Reply #8 on: May 15, 2011, 03:36:43 am »

I use the Link Shell Extension to create some Junction Folders on Mede8er internal hard drive connected to the PC via USB port. Everything is working under Windows. Windows Explorer saw the junction folders in the Mede8er and all the files in the folder. But when running from Mede8er, the junction folder is empty. The Mede8er only saw the junction folder but there is no file in it. I tried with both Windows 7 and XP, same result.

Did I do something wrong or are there extra steps I have to do. I read the LSE instructions again and again but could not find the answer.
Please help.
Thanks,
Logged
David Honey
Newbie

Offline Offline

Posts: 13


« Reply #9 on: May 25, 2011, 01:03:24 am »

If you are using a NAS, they typically have an embedded Linux. The only tricky part is finding out how to login as a root user to gain terminal access to the embedded Linux on your NAS box. This varies from NAS vendor to vendor. On Thecus, you can install a Sys module, and then an sshd module. Once you have both, you can use Putty to use SSH to login. Once you know how the raid is mounted, you have full control about how you organize your symlinks or hard links.

Unfortunately, it's not very easy to configure my Thecus N7000+ to support symbolic links with SMB. That's because they construct the smb.conf file at boot and service startup time from data that's in a readonly flash-based file system. Instead, what I've done is to use hard links. I have an "all" folder that has folders for all movies. In each movie folder I have a file called symlinks.txt that contains one or many relative paths representing additional paths (such as by letter and/or by genre). BTW, I found that if I named the file "symlinks", Mede8er would not play the folder since it found a file without a file extension and just said "Invalid file" without any further information about which file it was unhappy with. It was only by trial and error that I found out that is was a file without a suffix. Note to mede8er developers - improve error messages  Cheesy

On my NAS box, I have a shell script that validates the entries in the symlinks.txt file, and then uses cp -R -l (Google Unix cp manpage) to perform a recursive copy using hard links to each target file, creating new directories to mirror the directory structure. Note that Unix generally does not support hard links to directories. But the extyra space consumed by a new new directories is miniscule. I did this for my entire 400+ movie collection and had a script to iterate over all of them and set up the entire by_letter and by_genre organization.  So on my video wall, it starts with 3 folders - one for all movies, one by letter, and one by genre.

2nd note to mede8er developers - I found that even though I had a valid folder.jpg in these folders, Mede8er ignored them. The only way I could use them was to copy them to a root folder named videowall on a USB flash drive that I have left plugged in the back of my Med400X. It would be nice if in the next firmware release that it just used the user-supplied folder.jpg at that folder location.

Note that Unix hard links are safe, unlike Windows junction points. On Unix, a directory entry is essentially a reference to an iNode. The iNode represents the file and it keeps a reference count. Creating a hard link creates additional references to the iNode. Only when all the reference counts on an inode are zero will Unix delete the file. So if you delete what looks like a file in one of the movie directories in genre folders, it will not delete the file unless that was the last reference to the file. So in my case, unless I delete the files from the "all" folder and the by_letter and by_genre folders, I will never lose anything.

Windows Junction points are a nightmare. Even the Windows recycle bin doesn't understand them. It's very easy to delete files when you do not intend to do so. As Insomniac rightly warned - beware unless you know what you're doing.

Hope this helps for those of you using NAS boxes.

Kind regards,
David.
Logged
orchid59
Newbie

Offline Offline

Posts: 19


« Reply #10 on: June 09, 2011, 06:05:02 pm »

Hi David,

Sorry for not seeing your reply sooner. Thank you for your instruction and help.

I am not using NAS. I was trying to find the way to set multiple genres for my movies collection in internal hard drive. Somehow the Mede8er does not with work with Junction Folder.

Thanks,
Loc
« Last Edit: July 03, 2011, 05:55:20 pm by orchid59 » Logged
andd64
Newbie

Offline Offline

Posts: 1


« Reply #11 on: June 03, 2012, 10:22:21 pm »

I managed to get this working with my setup (Mede8er for the PBO):

Cisco Linksys E4200 Router with Tomato FW (using Linux):
HDD attached to the router via USB
PBO connected to the network.

Let's say your HDD tree look's like:

Root
|---My Movies
     |--MovieA
         |--folder.jpg
         |--about.jpg
         |--Movie1.avi
     |--MovieB
         |--folder.jpg
         |--about.jpg
         |--Movie2.avi
     |--MovieC
         |--folder.jpg
         |--about.jpg
         |--Movie3.avi
     |--Etc...
|---My Shows
|---Etc...

And you want to create another folder which has links to MovieA and MovieC in the "My Movies" folder, without actually copying the files.  If you are able to ssh or telnet into your router or if you are able to somehow access your HDD root (I'm doing this via ssh-ing to the router box, which can access the HDD), then do the following:

1. Create another directory at root
2. Go into that directory
3. Link to relative folder

For example:
root@MEDIA-CENTRE:/tmp/mnt/MEDIA#>    mkdir WatchThese
root@MEDIA-CENTRE:/tmp/mnt/MEDIA#>    cd WatchThese
root@MEDIA-CENTRE:/tmp/mnt/MEDIA/WatchThese#>    ln -s ../My\ Movies/MovieA .
root@MEDIA-CENTRE:/tmp/mnt/MEDIA/WatchThese#>    ln -s ../My\ Movies/MovieC .

*Note the "." at the end of the ln line's means that you want to copy the subfolder name into the current directory you're in, i.e. you want to copy the folder name "MovieA" and "MovieC" into the "WatchThese" directory.

That's it.  You should now see a folder in Mede8er called "WatchThese", and in that folder you should be able to see the movies MovieA and MovieC.  Repeat the ln line for all the movies you want in that folder. 


Your new tree structure should look like this:

Root
|---My Movies
     |--MovieA
         |--folder.jpg
         |--about.jpg
         |--Movie1.avi
     |--MovieB
         |--folder.jpg
         |--about.jpg
         |--Movie2.avi
     |--MovieC
         |--folder.jpg
         |--about.jpg
         |--Movie3.avi
     |--Etc...
|---My Shows
|---Etc...
|---WatchThese
     |--MovieA  -> ../My Movies/MovieA
     |--MovieC  -> ../My Movies/MovieC

Where -> denotes a symbolic link.


Hope this helps! =)

Andrew
Logged
Pages: [1]   Go Up
Print
Jump to: