Author Topic: Pictures?  (Read 12474 times)

drjenk

  • Veteran
  • ***
  • Posts: 61
    • View Profile
Re: Pictures?
« Reply #15 on: December 19, 2008, 08:31:45 pm »

I havnt a clue how it might be done but perhaps the other sort options can be made available for pictures in the future.

Good luck

Also, can any of the developers comment on whether or not viewing pictures from  NAS will be supported in the next version?

Thanks

krippler

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Pictures?
« Reply #16 on: December 20, 2008, 04:46:33 am »
To get the pictures on ur NAS or any drive in general to appear in the pictures menu on orbiter while keeping them on the device just do the following:

1) When the drive is detected by the system, use the LMCE directory structure on it. This will not erase or damage anything already on the drive, it will just give you some new directories (ie. public, user_1, user_2, etc.)
(In your case, you have to get LMCE to re-detect your NAS, I assume this can be done by simply removing it from the admin website and then plugging it in again. However, I've never tried this myself and cannot guarantee that it will be detected again automatically. Meaning, you might need to take additional steps to get it to be detected again)

2) Move the pictures into the "/public/data/pictures" directory on the NAS (you can have the pictures in sub-directories from this point forward). Now your pictures should appear in orbiter.

Basically what happens is, when you use the LMCE directory structure the new folders are created on the drive(if they dont already exist) and symlinks are automatically created to the appropriate places. ie. A symlink is created in the "/home/public/data/pictures/" directory on the root drive to "/public/data/pictures" on your NAS.

Hope that helps. Best of luck.

drjenk

  • Veteran
  • ***
  • Posts: 61
    • View Profile
Re: Pictures?
« Reply #17 on: December 20, 2008, 09:48:32 am »
I see, thanks for the clarification.
A little scared to delete it, but maybe this is the only way...


Thanks

drjenk

  • Veteran
  • ***
  • Posts: 61
    • View Profile
Re: Pictures?
« Reply #18 on: December 20, 2008, 12:32:05 pm »
If I do have problems with redetection of my NAS, is there a way to force detection?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Pictures?
« Reply #19 on: December 20, 2008, 06:34:27 pm »
No. There isn't, and there should never need to be.

If your device isn't being detected, chances are, your network is set up incorrectly.

-Thom

drjenk

  • Veteran
  • ***
  • Posts: 61
    • View Profile
Re: Pictures?
« Reply #20 on: December 20, 2008, 10:13:29 pm »
Well I have 2 nics in the hybrid, one connected directly to my dsl modem which is configured as dhcp server, and that is it for that NIC.  The other network card is connected directly to a switch, to which I have all other devices connected, including my NAS (other devices are a media live media director upstairs, a windows based pc, a t-mobile linksys wireless router (dhcp server turned off), and an xbox360, which can connect to xbox live fine, all of the above configured to get settings via dhcp).  I am able to browse the internet from my pc, 2 wireless laptops, I can connect to the dlink NAS admin screen, linux mce admin page etc.  As far as network setup, I cannot see any problems.  Everything has worked pretty well, except for of course displaying pictures other than the flickr slideshow on the home page. 
I did notice another thing.  Somewhere along the line, the NAS stopped being recognized when I go and rip a cd, or dvd.  When I first got this up and running a couple weeks ago, when I ripped one of our dvds, I could see the directory structure and choose a directory destination on my NAS.  I could then play it  upstairs on my media director.  I notice I cannot see the directory structure a few days ago when trying to rip one of my cds. 

There was at least one previous instance where someone had a similar issue, and needed to force redetection.  I saw a previous post about another person who had said "no" to using his NAS as a storage unit, and wanted to use it after changing his mind.  He was pointed to the unknown devices page, to then select "unlock", and reload router.  This did not work for him, he was then directed to doing a database command, which then worked after a "couple days".  So I tried to delete my NAS device, then turned it off/on, to try and see if linuxmce would detect.  No go.  I cannot see the IP/MAC of my NAS in the unknown device screen, although I can still ping it from the hybrid fine.
64 bytes from 192.168.80.251: icmp_seq=1 ttl=255 time=0.188 ms
64 bytes from 192.168.80.251: icmp_seq=2 ttl=255 time=0.236 ms
64 bytes from 192.168.80.251: icmp_seq=3 ttl=255 time=0.259 ms

So perhaps I made the problem worse, but this looked like the only way to try and get my pictures on my TV (to choose "use linuxmce filesystem" when redetected, to then move my pictures under the appropriate directory structure).  I can still see the NAS fine otherwise however, from my other pcs.  The only thing I can think of to try is maybe give the NAS a fixed IP, but I see no reason why this should help (?).




S

krippler

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Pictures?
« Reply #21 on: December 21, 2008, 10:05:02 pm »
I believe your network config should be fine. As for detecting the NAS again, I recently deleted one of my internal harddrives from the admin page and upon restarting the core it was automatically re-detected.

You shouldnt need to do any unlocking from the "unknown devices" page unless you chose to always ignore the device when it was detected. I suggest you unplug the NAS from the network, make sure it is deleted from the admin website, then restart the core. Upon restart plug the NAS in again and it should be detected within a few mins.

Also, please note that by default, the system reserves 192.168.80.[2-128] for LMCE devices with the rest being left for devices external to the system. This means that once the NAS is setup and being used by LMCE it will automatically be assigned an IP address within this range (I think this address remains constant for as long as the device exists). Your NAS' IP is outside this range, so unless you've changed the default network settings in the web-admin it would appear that LMCE doesnt know it can use the NAS for storage.

drjenk

  • Veteran
  • ***
  • Posts: 61
    • View Profile
Re: Pictures?
« Reply #22 on: December 24, 2008, 03:16:51 am »
I did your suggestion, and it is being assigned the .251 address again.  It is definitely gone from the device list on the "tree" view under CORE, where there was an entry previously titled "DNS-323".  I have not changed anything in the network config screen at all, it is at it's default setting, where the ranges of .2 to .128 are pluto devices.  Every other network device is working just fine, including the diskless media director.  And it was working at one point, because I did rip a dvd when I first got the system going, in fact the image is still on the NAS.  Somewhere along the line it stopped being recognized and I am really stumped as to what could have caused this. 

I am wondering if there isn't somewhere else in the admin screen I am just not finding (and I have hunted), where all of the devices that ARE found are listed, and their status (pluto or non-pluto). 

So I hope I can get this going because I really want this to work.  Other aspects seem to be working ok, including mythtv (although I am not using this as it is intended, until I get my hdhomerun I ordered, it is just capturing output from my current pvr). 

Thanks for the suggestions and by all means please post any additional ideas you think of.  I was thinking possible do a swap of my interfaces, and do the same with the physical cables, to maybe force a redetection, but I fell may be digging the hole a bit deeper than it already is.