NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT MVPMCX2 and other NMT stuff v
« Previous 1 … 17 18 19 20 21 … 37 Next »
Gbpvr.cgi ?

 
  • 0 Vote(s) - 0 Average
Gbpvr.cgi ?
reyn
Offline

Junior Member

Posts: 22
Threads: 4
Joined: May 2009
#1
2009-08-09, 05:34 PM
I would like to play a Video_ts folder and have found out I need to add some instructions to mount the share in Gbpvr.cgi but I cannot find it.
I have searched locally in the mvpmc and checked the network share of the PCH and the GBPVR program directory.
Please I know it's probably obvious but I cannot find it. I have GBPVR running on my WHS and loaded it from the NMTInstall program, mvpmcx2 I loaded using the Community Installer.
I cannot find the startmeup file either!
In the Video Library I have the .dvd file ready but at the moment I just get a few seconds of the Popcorn splash and then a return to GBPVR.
Frank
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,196
Threads: 958
Joined: May 2006
#2
2009-08-09, 05:46 PM
Good question. The CSI install doesn't use startmeup or gbpvr.cgi so you need to create a shell script /share/Apps/mvpmcx2/bin/useropt.sh This file is persistent and will survive CSI updates. You will likely need to do a test in the script to avoid trying to re-mount the shares.

Note if the DVD files are on your PCH they should not have to do anything, if GBPVR is set up properly.

Martin
reyn
Offline

Junior Member

Posts: 22
Threads: 4
Joined: May 2009
#3
2009-08-09, 06:12 PM
Martin you are talking to a Windows user here, I will do some research to find out how on earth I follow your instructions.
The DVD's are on the Video share on the WHS.

Second thought, what if I just run the PCH Setup from the NMTInstall program on it's own?
Frank
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,196
Threads: 958
Joined: May 2006
#4
2009-08-09, 06:22 PM
No NMTInstall doesn't setup DVD's. What is your VideoLibraryDirectory line in your config.xml for your DVD folder?

Martin
reyn
Offline

Junior Member

Posts: 22
Threads: 4
Joined: May 2009
#5
2009-08-09, 06:48 PM
<VideoLibraryDirectory>whsvideo~D:\shares\Videos|whsvideoshare~\\Whserver\Videos|</VideoLibraryDirectory>

I entered it as a network reference and as a drive both seem to provide the .dvd so I can remove one as they both point to the same share.
Frank
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,196
Threads: 958
Joined: May 2006
#6
2009-08-09, 07:15 PM (This post was last modified: 2009-08-10, 09:59 PM by mvallevand.)
Try this as useropt.sh

Code:
if [ ! -d /mnt/\\\\Whserver\\Videos ]
then
    mkdir /mnt/\\\\Whserver\\Videos
    mount -t cifs  //xx.xx.xx.xx/Videos /mnt/\\\\Whserver\\Videos -o username=[b]xx[/b] password=[b]xx[/b]
fi

If it is a guest share omit the password and use your IP.

Martin
reyn
Offline

Junior Member

Posts: 22
Threads: 4
Joined: May 2009
#7
2009-08-09, 07:58 PM
Thanks Martin, I will try it out tomorrow evening and report back.
Frank in the UK
reyn
Offline

Junior Member

Posts: 22
Threads: 4
Joined: May 2009
#8
2009-08-10, 04:34 PM (This post was last modified: 2009-08-10, 06:04 PM by reyn.)
This is my useropt.sh script.

if [ -f /mnt/\\\\Whserver\\Videos ]
then
mkdir /mnt/\\\\Whserver\\Videos
mount -t cifs //192.168.2.150/Videos /mnt/\\\\Whserver\\Videos -o username="guest"
fi

I placed it in Pch-a110\share\Apps\mvpmcx2\bin

192.168.2.150 is the ip of the whs
When I reboot the PCH and select the web service mvpmcx2 the screen goes black and it locks me out so that I have to switch off and on again.

When I remove the script GBPVR starts ok.

I have installed Telnet from the Community Installer and Putty if that helps in finding the problem?

Frank
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,196
Threads: 958
Joined: May 2006
#9
2009-08-10, 06:07 PM
Frank, first make sure you are using a linux compatible text editor and not notepad to make the useropt.sh file. Second the actual username and password are not in quotes that was my emphasis, I will edit that instruction.

Martin
reyn
Offline

Junior Member

Posts: 22
Threads: 4
Joined: May 2009
#10
2009-08-10, 07:04 PM (This post was last modified: 2009-08-10, 07:27 PM by reyn.)
I am using EditPad lite, I have now realised I cannot cut and paste from the forum posts, so I have set EditPad to Unix format and typed it in with the quotes removed.
I no longer have the PCH crashing but it now performs as previously with a few seconds of the PCH screen before returning to GBPVR when I click on the .dvd file.

if [ -f /mnt/\\\\Whserver\\Videos ]
then
mkdir /mnt/\\\\Whserver\\Videos
mount -t cifs //192.168.2.150/Videos /mnt/\\\\Whserver\\Videos -o username=guest
fi

This is what I typed in.
Frank
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Videos won't play on PCH A-100 with GBPVR arkennedy75 6 3,646 2012-01-20, 12:53 AM
Last Post: mvallevand
  More than one server - one NPVR and one GBPVR? baj1 4 2,615 2012-01-17, 06:49 PM
Last Post: martint123
  NMTinstall for GBPVR no longer working? caz 6 3,233 2011-07-09, 01:07 PM
Last Post: caz
  Can't play recorded video files on PCH-A100 using GBPVR dvasco 4 2,510 2011-01-04, 01:19 PM
Last Post: dvasco
  New mvpmcx2o update for GBPVR and NPVR 2010-12-24 mvallevand 3 2,022 2010-12-27, 01:51 PM
Last Post: mvallevand
  New M34A on eixting GBPVR 1.4.7: GBPVR via NetworkBrowser: "Request cannot be proc" lucille84 3 2,131 2010-11-09, 12:30 AM
Last Post: mvallevand
  New mvpmcx2n update for GBPVR and NPVR 2010-09-05 mvallevand 14 6,622 2010-10-16, 05:03 AM
Last Post: zaldwaik
  Running GBPVR & NPVR Blue Racer 4 2,352 2010-10-01, 09:51 PM
Last Post: mvallevand
  GBPVR, NMT and WHS? wickchucker 12 4,093 2010-08-18, 03:48 AM
Last Post: mvallevand
  Can't start GBPVR mvallevand 0 1,592 2010-05-10, 04:45 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode