[19. June 2013] Soundcloud® available now | [7. June 2013] Youporn available now | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 RC1 [13 June 2013] | A-200/A-210 RC1 [13 June 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
Is it possible to exit index.htm and back to Popcorn interface+specified folder?
10-06-2008, 06:38 PM (This post was last modified: 10-06-2008 06:53 PM by yellow360f.)
Post: #16
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
Linux experts, please help me out.

Adult content on the root of PCH in a folder .Personal

then inside my index.html i have a
a href="http://localhost.drives:8883/HARD_DISK/.Personal" TVID="567"

What's wrong with the above URL? I just want to show the file listing for the .Personal folder. I don't have any index.htm in there. Is it possible to exit index.htm to a file listing navigation (default PCH behavior?)
Find all posts by this user
10-06-2008, 10:48 PM
Post: #17
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
(10-06-2008 06:38 PM)yellow360f Wrote:  Linux experts, please help me out.

Adult content on the root of PCH in a folder .Personal

then inside my index.html i have a
a href="http://localhost.drives:8883/HARD_DISK/.Personal" TVID="567"

What's wrong with the above URL? I just want to show the file listing for the .Personal folder. I don't have any index.htm in there. Is it possible to exit index.htm to a file listing navigation (default PCH behavior?)

I tried a similar thing (wanted to hide all my jukebox files by renaming folder to .jukebox) but I think the trick for hiding the folder also prevents it from being referenced in index.htm etc

However, if you've got your index.htm in root (so loads automatically when clicking on HARD_DISK in sources) and the only links from it are to jukeboxes or to areas of your hard disk that dont allow you to navigate to your Personal folder, it shouldnt be necessary to hide it - it becomes unreachable by default unless you use your remote 'pin' number


A210 + 1Tb 2.5" SATA internal
A110 (4gb compact flash)
Storage: Synology DS207+ (4Tb) & 2 x Edgestor DAS200 (8Tb)
Display: Sony Bravia KDL55HX853
Amplification: Onkyo TX-NR515
Speakers: 3 x Monitor Audio R180HD; 2 x Monitor Audio R45HD; REL Q-Bass
Logitech Harmony One
Find all posts by this user
10-08-2008, 05:28 AM (This post was last modified: 10-08-2008 06:15 AM by SkykingUSA.)
Post: #18
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
(10-04-2008 12:25 AM)SkykingUSA Wrote:  So, if the network share is SMB and the server name is NAS1, share name is PCH, and the folder on this drive I want to get to is called /video/movies, would it look something like this?

"http://localhost.drives:8883/NETWORK_SHARE/PCH:NAS1/video/movies/?home=1"

Do I need to change the localhost.drives:8883 part for this to work?

Thanks!


Sorry guys if I missed it, but I did not see a link that would take me to the default PCH interface on my nas source. I saw your source code yellow360f and thank you for that, but it goes to the local disk. I thought you were linking to the interface on your nas drive - no? If so, what href code did you use for that?

I have not tried this yet, but I plan to try it right now to see what I can get.

Thanks for sharing! I'll get this set up one day exactly how I want it. Rolleyes

Well, I went off an tried it after writing the above, and sorry to say that I guess I have to start from square one. I put an index.htm file in the root of my nas share and the PCH doesn't even automatically open it when I go to the share from the source screen. I also tried putting it into the root of the hard drive share called "share" and it doesn't open automatically there either. In both locations I can open it manually, but I want it to open automatically. I guess I'll have to read the index thread somewhere...

By the way, after I opened it manually, I was able to successfully browse to my yamj moviejukebox index file and open the movies etc., but that only worked when I was already on the nas source - it would not link to the nas yamj file from the local hard disk. I suspect it may be an authentication thing for the nas drive, or maybe the nas drive is not or cannot be mounted in linux when the local disk is mounted - I don't know.

Anyway, I'm going to go read how to get my index.htm to open automatically, then I will continue testing and post my results here.

I almost forgot - the link I used in my index.htm file (which is currently sitting in the root of my nas share) to take me to my yamj index and open it looks like this (in case it helps anyone else in this thread):

"http://opt/sybhttpd/localhost.drives/NETWORK_SHARE/NAS1:pch/video/Movies/index.htm"

I tried the "file:\\\" prefix and didn't work, but the "http" prefix in the link above worked like a charm. Keep in mind, that NAS1 is my nas server name and pch is the share name on the NAS drive - the rest is just the path to where the yamj index file is.
Find all posts by this user
10-08-2008, 06:51 AM
Post: #19
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
auto launch of index.htm on shares is broken with current firmware.

What i did was buy a 2gb usb drive (same as 1gb , $1 more) and put my index and jukebox in the usb stick.
then click on source and point to USB and my index.htm launches. perfect for me, i don't need to worry about putting index.htm on shares, netword attached storage, etc.

then from index.htm i link to other sites/htms/places on the PCH .

I saw your link up there using http://opt

the one that i tried and works ok is .
http://localhost.drives:8883/NETWORK_SHARE/(sharename of your network attached storage in pch)//?filter=0
so if your sharename if pch is myfiles
then you put in
http://localhost.drives:8883/NETWORK_SHARE/my files/?filter=0
Find all posts by this user
10-08-2008, 06:24 PM
Post: #20
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
(10-08-2008 06:51 AM)yellow360f Wrote:  auto launch of index.htm on shares is broken with current firmware.

Well, that sucks. Hopefully it will be fixed in the next release. Thanks for letting me know - you probably saved me hours of research and trial and error! Whew.

(10-08-2008 06:51 AM)yellow360f Wrote:  What i did was buy a 2gb usb drive (same as 1gb , $1 more) and put my index and jukebox in the usb stick.
then click on source and point to USB and my index.htm launches. perfect for me, i don't need to worry about putting index.htm on shares, netword attached storage, etc.

then from index.htm i link to other sites/htms/places on the PCH .

I suppose I could run it off a small USB stick too, but why did you choose that method rather than just run it off an internal hard drive? Do you not have an internal hard drive in yours? Or does it not autoload from the hard drive too? (it didn't work for me either).

(10-08-2008 06:51 AM)yellow360f Wrote:  I saw your link up there using http://opt

the one that i tried and works ok is .
http://localhost.drives:8883/NETWORK_SHARE/(sharename of your network attached storage in pch)//?filter=0
so if your sharename if pch is myfiles
then you put in
http://localhost.drives:8883/NETWORK_SHARE/my files/?filter=0

Thanks Yellow, I'll give that a try.
Find all posts by this user
10-08-2008, 06:34 PM (This post was last modified: 10-08-2008 06:44 PM by yellow360f.)
Post: #21
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
No problem. I was in the same shoes as yours, when something breaks, i panic, then found out to stay cool and post here and find out more everyday. I can be a PCH teacher by next year.

I chose the USB stick to auto launch my index.htm + jukebox (yamj in my case), since it's only 2gb stick and hides in the back and that's all i have on it. just my index.htm + jukebox folder.

The auto launch works on the internal hard drive + usb stick.

The reason i didn't put it in my internal hard drive, is that i wanted to be able to browse to my folders in my internal hard drive. when you put the index.htm in the root of your internal PCH hard drive, it loads up the gui and you can't see files/folders/ etc.
******************************************************************

here is my customized index.htm thanks to the index.htm that was provided on this forum , i customized it with my hidden keys.
i then created folders from 5000 to 6000 in the recycled\empty folder on my hard drive, which to average joe , he has to sit there and browse each one. That way i can put my content in one of those random folders and assign a secret key to it.

This should give you some ideas.

[Image: ngeybs.jpg]
Find all posts by this user
10-08-2008, 06:56 PM (This post was last modified: 10-08-2008 06:58 PM by SkykingUSA.)
Post: #22
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
yellow dude, you rock. Thanks for this example. I will surely use it for ideas and examples. Thanks!

for some reason, when i put my index.htm on my hard drive (in the root of the "share" share), it did not autoload. I will have to try it again. I don't use the hard drive for anything right now so I don't mind using it for my index.htm stuff and my yamj jukebox. Plus, I don't have to remove the stick every time I want to update the yamj folder with new entries, which will probably happen weekly for me, if not more.

Currently, I have my yamj index and jukebox on my nas drive where the movie files are. Any reason my hard disk index.htm cound not link to the yamj index on the nas?
Find all posts by this user
10-08-2008, 07:01 PM
Post: #23
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
everytime you turn off PCH, the share drive (your nas links) will not work.
You gotta browse to it once, (if it's SMB or NFS) and then links will work from your hard disk index.htm to your nas links.

when you put the index.htm in the root drive, it has to autoload. if it doesnt try the USB stick.
Find all posts by this user
10-08-2008, 07:10 PM
Post: #24
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
(10-08-2008 07:01 PM)yellow360f Wrote:  everytime you turn off PCH, the share drive (your nas links) will not work.
You gotta browse to it once, (if it's SMB or NFS) and then links will work from your hard disk index.htm to your nas links.

when you put the index.htm in the root drive, it has to autoload. if it doesnt try the USB stick.

Oddly, when I tried clicking the link from my hard drive to my nas, the whole unit froze up and I had to reset it - even though I did connect to the nas drive source since the last power off. Maybe it had to do with there being a password on the nas connection? I'll try again, with and without a password this time.

Just to confirm, the "root drive" you refer to is the location I see when I connect to the PCH from my pc over the samba share right? In other words, if I put my index.htm file in the root of \\PCH\share (as seen from my computer) it should work right?

I will try the usb stick too as you suggest, even if the hard drive works, because I am curious to see how it works too.

Not sure if this matters, but I am using an A-110 to do all this with (latest firmware).
Find all posts by this user
10-08-2008, 07:19 PM (This post was last modified: 10-08-2008 07:33 PM by yellow360f.)
Post: #25
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
For those who are interested in creating a dummy folder like Recycled bin and then folders within (in my case i used numbers).
and then use TVID to a random number folder for your content
I have included a zip file that includes folders from 1000 to 2000

within each folder there is another folder with the same number.

so when you unzip you get
c:\numbers\1000\1000
c:\numbers\1001\1001
.
.
.
c:\numbers\2000\2000
Download link: http://rapidshare.com/files/152122183/Numbers.zip
Just to confirm, the "root drive" you refer to is the location I see when I connect to the PCH from my pc over the samba share right? In other words, if I put my index.htm file in the root of \\PCH\share (as seen from my computer) it should work right?

That is correct. that's considered root of your internal PCH hard drive.
Find all posts by this user
10-08-2008, 08:04 PM
Post: #26
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
Ok, everything seems to work for me now except for one thing.

1. The links out from my index.htm file to the PCH interface works (to browse music folder, etc.).
2. The filters options work great for video, music, pictures.
3. I can link to my nas folders and files now from the main index.htm on the hard drive, or one on the USB stick (as long as I have connected to the nas drive since the last reset of the PCH).

The only thing that still does not work for me is the autoloading of the index.htm file. It does not autoload when I put it in the root of the hard drive share (\\nas1\share\index.htm, for me) nor does it autoload when I put it in the root of the usb stick. It works fine when I manually select it to open it up (that's how I was able to test all the above).

I don't know why it doesn't work - is there something else I need to load in order for the index.htm to autoload? I read a little about some start.cgi file or app - do I need that in order for these index.htm files to autoload?

Also, the exact spelling of the file is "index.htm" right, not "Index.htm" or "index.html" or some other variant?
Find all posts by this user
10-08-2008, 08:14 PM (This post was last modified: 10-08-2008 08:17 PM by yellow360f.)
Post: #27
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
yes, mine is called index.htm
the autoload for your \\nas1 will not work , since i was told it was broken with current firmware.
my autoload of index.htm works perfect from local drive or usb stick.

anyone can comment on the autoload not working from a usb stick?

Here is the content on my usb stick (front usb port next to LEDs) . and as soon as i select it, it autoloads the index.htm.


[Image: 2b7gad.jpg]
Find all posts by this user
10-08-2008, 08:34 PM (This post was last modified: 10-08-2008 08:53 PM by SkykingUSA.)
Post: #28
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
Mine looks like that too, but I only tried the rear usb port. I didn't think it makes a difference, but I will try the front usb port too, just in case.

Also, thanks for showing the picture - it tells me how to access the usb stick remotely so I can just leave it in there!
Just tried the front port - no difference.

Here is the Hard drive in the PCH:
[Image: pchhd.jpg]

Here is the USB stick, currently in the front of the PCH:
[Image: pchusb.jpg]
Find all posts by this user
10-08-2008, 09:45 PM
Post: #29
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
what's the content of you index.htm?
Find all posts by this user
10-08-2008, 10:19 PM (This post was last modified: 10-08-2008 10:20 PM by SkykingUSA.)
Post: #30
RE: Is it possible to exit index.htm and back to Popcorn interface+specified folder?
(10-08-2008 08:14 PM)yellow360f Wrote:  what's the content of you index.htm?

I created it with MS Word so it has a boat load of stuff at the beginning that really isn't necessary, but I didn't think that mattered. I was going to put a screen shot of it in this post, but it is way too long! Let me just edit out all the junk from Word in there first by opening it in Notepad, and try it without all the extras. I'll keep it as a simple html and see what happens. Thanks.
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Kroozbox- Personal Video Database - PVD (or any DB) and Music Jukebox to Popcorn Hour Nono 383 159,406 07-03-2012 01:52 PM
Last Post: Paul_T
  [AUDIO] What about folder.jpg and album art Bergkamp 0 1,107 01-05-2012 04:24 PM
Last Post: Bergkamp
  New Interface Design? mcmillyonaire 10 2,160 10-18-2011 04:23 AM
Last Post: mcmillyonaire
Shocked Using folder navigation for music, all great but no shuffle jimihat 8 3,062 05-08-2011 12:11 AM
Last Post: excal
  html guide thread disappeared? need help with html index page. madouvit 4 1,784 12-22-2010 01:33 AM
Last Post: excal
  [MLMJ] Some index pages with more movies than can be displayed. bigkid 4 1,973 10-31-2010 09:50 PM
Last Post: bigkid
  Index for home movies? batfink 6 2,367 05-02-2010 09:19 AM
Last Post: batfink
  Do not display Genre on index_mainxx.htm ? mysticc 3 1,678 04-23-2010 09:06 PM
Last Post: wandidj
  Videos on Configuring & Using the Interface Music Video Flow michael1t 0 1,467 04-15-2010 01:01 PM
Last Post: michael1t
  Music Jukebox playlist in wrong folder Penge58 8 2,857 04-03-2010 03:23 PM
Last Post: Penge58

Forum Jump: