[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 
Launch script after playing a video
04-03-2010, 03:30 PM
Post: #1
Launch script after playing a video
Hi all,

Just a simple question, is there a way to launch a dedicated script that after having played a video ? (Something like a .sh to be launch after a video is show..)

Thanks,
Find all posts by this user
04-03-2010, 04:25 PM
Post: #2
RE: Launch script after playing a video
You can make a wrapper around the mono binary. (or x200 equivalent)
Replace the binary with a shell script, that plays the video and then runs your commands. (Standard unix/linux 'hack')
You would have to do this at every reboot.

(see "$@" for shell parameters)

But there may be a nicer way to do whatever you are trying to do?

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
04-03-2010, 04:48 PM
Post: #3
RE: Launch script after playing a video
In fact, I would like to put "®" in front of the filename each Time I have read a file
Find all posts by this user
04-03-2010, 04:57 PM (This post was last modified: 04-03-2010 04:57 PM by lordy.)
Post: #4
RE: Launch script after playing a video
Do you care if you played the whole movie, or just played it for a few seconds?
What if you picked the wrong movie?
Just some things to ponder as you go Smile

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
04-03-2010, 06:32 PM (This post was last modified: 04-03-2010 07:37 PM by antro31.)
Post: #5
RE: Launch script after playing a video
(04-03-2010 04:57 PM)lordy Wrote:  Do you care if you played the whole movie, or just played it for a few seconds?
What if you picked the wrong movie?
Just some things to ponder as you go Smile

It does not really matter, if I play only a part or even the wrong movie, I would like something to display it as already read, even partially.
I could then change it using an FTP connection or else if required.

Could someone help me to do that script ?
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Star [Apps] Bierdopje 4 NMT PHP script SilverViper 4 1,320 11-26-2012 04:57 PM
Last Post: Djiest
  Way to disable video controller or screensaver after timeout? jorgb 1 1,544 10-12-2011 10:08 AM
Last Post: JorgeRMatias
  Need help debugging a simple script to enable NTFS write on HDD user33 10 3,187 04-05-2011 06:05 PM
Last Post: nuke12
  Help with Server Timeout Error running a script hindibuff 0 1,675 03-29-2011 06:21 AM
Last Post: hindibuff
  iPad streaming: Air video Geeum 6 13,218 03-15-2011 07:25 AM
Last Post: cocochen
Bug Executing a script on the server from the NMT? johnk 6 3,200 02-21-2011 10:59 PM
Last Post: johnk
  Is it possible to display custom osd messages while playing a movie? gcf 2 1,561 02-12-2011 01:36 PM
Last Post: dc11ab
  Eyecon Troller - Youtube no sound and playing albums stone28 1 1,537 12-25-2010 12:24 AM
Last Post: scorpio67
  [AUDIO] lastfm script (bookmarks, auto-login, etc.) mk11 81 35,350 10-09-2010 01:45 AM
Last Post: opfeifer
  help with auto unrar script. kiranos 0 1,769 05-15-2010 10:24 AM
Last Post: kiranos

Forum Jump: