[19. April 2013] A-400 Advanced Network Setup now available | [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 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

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 
How to run an avi from HTML ?
06-07-2009, 06:48 PM
Post: #1
How to run an avi from HTML ?
Hi,

I am creating a daemon app (runs in the background) which scans several series directories, and from every dir, moves the episode that is the earliest to a dedicated "watch" dir. When I remove the episode after watching, it will place the next one in it, etc.

So far the C++ build works like a charm, sqlite and boost were also no problem to get going in the cross compile toolchain. But now I want to generate a HTML page with the overview instead of clicking the file in the video browse window. The reason is that I can order the episodes so that the most recent watched series are on top, or most popular ones..

I tried to make a small HTML page with a href link in it that points to the file. When I open the HTML page and click it, it tries to load the whole file als a page. Needless to say that the PCH does not like 1 Gb of binary web page ;-)

How do I go about specifying the file to play in the webpage so that it actually plays when I click it?

The web page I have now, tries to play a MP3 (see example) but this does not work either (at least it does not crash ;-) )..

Code:
<html>
<body>
<a href="file:///opt/sybhttpd/localhost.drives/HARD_DISK/Music/Library/_MIXES/Adam%20F%20-%20Drum%20And%20Bass%20Warfare/Adam%20F%20-%20Drum%20And%20Bass%20Warfare.mp3">Music</a>

</body>
</html>


With regards,
- Jorgen
Find all posts by this user
06-07-2009, 07:01 PM
Post: #2
RE: How to run an avi from HTML ?
You need to specific media/playlist type eg. vod or aod

Check these links out for more details:

http://www.networkedmediatank.com/downlo..._v1.2.html
http://www.networkedmediatank.com/wiki/i...umentation
http://www.networkedmediatank.com/wiki/i.../Main_Page
Find all posts by this user
06-07-2009, 09:19 PM
Post: #3
RE: How to run an avi from HTML ?
Hi there,

Awesome, thank you for the links!

- Jorgen
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  MyLil Movie Jukebox no index html file? whyioughta 2 1,893 12-07-2010 03:08 AM
Last Post: whyioughta
  HTML problem: ol + img nexushoratio 7 4,386 06-02-2010 03:08 PM
Last Post: excal
  Run CGI file from Webservice ceilath 1 1,644 02-10-2010 06:54 PM
Last Post: ceayuso
  NMT HTML questions Ahri 3 2,909 12-23-2009 11:21 AM
Last Post: DefBref
Question Any DTS to AC3 Apps Run On NMT? NOD 9 5,248 12-11-2009 05:28 PM
Last Post: choekstr
  How can I run Python scripts ? mcglnx 2 2,726 12-10-2009 02:51 PM
Last Post: dc11ab
  HTML Gaya Form Controls vs CSS lordy 0 1,567 11-22-2009 09:25 PM
Last Post: lordy
  Converting TED to run on the NMT tiwas 1 2,483 11-13-2009 04:35 AM
Last Post: tigpoppa
  Skinmaker gurus: Gaya / html aligning content from bottom of screen upwards... lordy 4 1,778 10-16-2009 04:07 AM
Last Post: lordy
  Automounting from external html (+ISOs) - no software mod required. ?? (eg YAMJ skin) lordy 11 2,862 10-14-2009 10:31 PM
Last Post: lordy

Forum Jump: