[7. June 2013] Youporn available now | [19. April 2013] A-400 Advanced Network Setup | [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 
index not linking from hdd to nas
08-08-2009, 08:41 PM
Post: #1
index not linking from hdd to nas
I generate a number of jukeboxes using YAMJ and decided that I'd build a custome index.htm to point to them. That way the first thing I see when I start the pch will alway stay the same and only the jukeboxes will get rebuilt each night.

But, I seem to have a problem with my shares and the syntax needed to point to files back on my server (Windows Home Server).

Here is my set up and some sample code from my index.htm

shares:
TV
Movies
Music
Photos

PHP Code:
<td valign="top">
            <
center>
              <
a href="file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/TV/Jukebox/new/index.htm" id="thumbimage">
                <
img src="resources/plasma-tv-256x256.png"/>
              </
a>
            </
center>
        <
center>
               <
font color="#FFFFFF" size="6" face="Verdana, Arial, Helvetica, sans-serif">New TV</font
        </
center>
        <
center>        <div class="navigationline"></div>
          </
td
PHP Code:
<td valign="top">
            <
center>
              <
a href="file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/Movies/Jukebox/New/index.htm" id="thumbimage">
                <
img src="resources/Movie Jukebox.png"/>
              </
a>
            </
center>
        <
center>
               <
font color="#FFFFFF" size="6" face="Verdana, Arial, Helvetica, sans-serif">New Movies</font
        </
center>
        <
center>        <div class="navigationline"></div>
          </
td

Finally, I've also tried putting in code to go out to the file browser so that if something is wrong with YAMJ I can still play files.
PHP Code:
<td valign="top">
            <
center>
              <
a href="http://localhost.drives:8883/NETWORK_SHARE/Movies\New/?filter=3">
                <
img src="resources/icon_playlist_[80%].png" onfocussrc="resources/icon_playlist_on_[80%].png"/>              
          </
a>
            </
center>
        <
center>
               <
font color="#FFFFFF" size="6" face="Verdana, Arial, Helvetica, sans-serif">Movies</font
        </
center>
          </
td

All three of these examples fail with an error saying:

REQUEST CAN NOT BE PROCESSED.

I've tried all kinds of combinations of syntax and I just can't seem to get this to work.

Any help out there?

Thanks in advance.
Richard.
Find all posts by this user
08-08-2009, 10:09 PM
Post: #2
RE: index not linking from hdd to nas
A Bit more info on this. I found Kdoske's index customizer and tried building an index with it and none of the likes will work.

I've also reboot my pch, cleared the cash, and completely unplugged it.

Any ideas?
Find all posts by this user
08-09-2009, 11:50 PM
Post: #3
RE: index not linking from hdd to nas
And still more on this:

it appears to be something with mounting the shares.

If I go directly to one of the shares and then come back to the local drive & run my index.htm I can get one of shared indexes to load. But, the others fail. I then manual navigate to another share; and then back to the local drive the first share will fail but the second one will work.

I guess I have to start reading about how to mount shares.
Find all posts by this user
08-10-2009, 01:10 AM
Post: #4
RE: index not linking from hdd to nas
And then I found threads about mono.wrapper.

But, after reading through most of the 19 pages I determined that it will only work if the entire jukebox is on the local harddrive.

That's great if you're jukebox is pretty static, but what if it changes frequently?

I like to rebuild my jukebox often and therefore keep it all on the server where the data files are.

So, I'm back to asking,
Anybody got any ideas?

thanks in advance.
Find all posts by this user
08-10-2009, 05:05 AM (This post was last modified: 08-10-2009 06:06 AM by journey4712.)
Post: #5
RE: index not linking from hdd to nas
if your jukebox changes frequently i would suggest a script in which your server transfers the jukebox to the NMT after finishing the build every night. the script just nuke the folder over samba, and then copy over the newly built jukebox automatically. Some ftp clients can be automated to mirror a directory structure over to the popcorn. If the nmt is not turned on when the builds occur then i'm not sure what you could do. Also not sure which platform your server is but linux or macos should be fairly easy to set this up, windows a little harder but still possible.

journey4712

Automated TV Downloads | On-Demand Network Shares | Faster PHP (lighttpd+fastcgi+apc)
PCH-A100 | PCH-C200 | XBMC HTPC | Sharp Aquos 42D62U | Logitech Z-5500
Find all posts by this user
08-10-2009, 03:51 PM
Post: #6
RE: index not linking from hdd to nas
Thanks Journey, I'm going to look into this

I guess the first thing I need to confirm is that the jukebox doesn't have to be built differently on the assumption that it will be run from the HDD.

I'll also have to look at the size of the thing. I only have a 5gig CF card in there.
Find all posts by this user
08-10-2009, 10:31 PM
Post: #7
RE: index not linking from hdd to nas
The jukebox shouldnt need any modifications, the same jukebox you load over the network can load via nmt.

journey4712

Automated TV Downloads | On-Demand Network Shares | Faster PHP (lighttpd+fastcgi+apc)
PCH-A100 | PCH-C200 | XBMC HTPC | Sharp Aquos 42D62U | Logitech Z-5500
Find all posts by this user
08-11-2009, 03:48 AM
Post: #8
RE: index not linking from hdd to nas
(08-10-2009 10:31 PM)journey4712 Wrote:  The jukebox shouldnt need any modifications, the same jukebox you load over the network can load via nmt.

journey4712

That's what I'm seeing. I'm just surprised that it doesn't load faster. I guess all of the delay is from the browser and the weak processor in the pch.

hmm?
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  A-300 index.htm hispanico 2 1,497 09-04-2012 11:15 AM
Last Post: hispanico
  Slick index.htm coming soon jonny555 7 2,769 08-26-2012 10:09 PM
Last Post: jonny555
  Help with custom Index.htm mstrong 22 4,568 07-05-2012 11:49 AM
Last Post: excal
Brick [Index.html] NMT Index - Kdoske NMT Customizer v0.3.7.exe - Windows Index Creator Kdoske 780 408,416 02-16-2012 07:15 PM
Last Post: ridley
  index.htm modding question PaaDii 4 2,409 01-04-2012 12:42 PM
Last Post: Onraed
  index.htm link to a .name folder HELP PLEASE... Tsurugi_Takuma 0 1,984 12-08-2011 10:12 PM
Last Post: Tsurugi_Takuma
Star [Index.html-HD] Aeon Index HD marcin77 226 121,099 10-31-2011 08:29 PM
Last Post: steve_guitar
  Password Protect Link in index.htm? hakras 2 2,512 08-15-2011 01:58 AM
Last Post: hakras
  [Index.htm] Calm 2.1.1 meowmoo 27 11,229 08-05-2011 07:57 PM
Last Post: P50X20
  [Index.htm] Popdex cprobert 40 15,751 07-02-2011 08:34 PM
Last Post: JamesTF

Forum Jump: