Jump to content
lujo

Updating server from the client

Recommended Posts

lujo

Is it possible to add button so that Client pc can update alle channels data on the server with one cclick on the button "Update channels on server"?

 

At this moment I have understood that I need to move channels.dat and favorites.xml file to the server (Configuration folder of Recording service).

Share this post


Link to post
hdv

At this moment I have understood that I need to move channels.dat and favorites.xml file to the server (Configuration folder of Recording service).

yes, best is:

first stop the RecordingService

then copy/move the channels.dat/favorties.xml (but RecordingService not use the Favorites)

start the RecordingService again

 

updating directly ist not possible now

Share this post


Link to post
Derrick

yes, RS is still beta ;)

Share this post


Link to post
McenterFreak

Is it possible to add button so that Client pc can update alle channels data on the server with one cclick on the button "Update channels on server"?

 

At this moment I have understood that I need to move channels.dat and favorites.xml file to the server (Configuration folder of Recording service).

I am manageing it the opposite way. I maintain the channels and favorite on the server, with DVBViewer on the server. On the clients i use a batch file to copy channels and favorites to the client, then starts DVBViewer. To use this code, you need to modify to macth your folder and server name

Batch file:

 

tasklist /FI "IMAGENAME eq DVBViewer.exe" 2>NUL | find /I /N "DVBViewer.exe">NUL

if "%ERRORLEVEL%"=="0" goto running

goto notrunning

:running

rem Program is running, kill it

Taskkill /IM DVBViewer.exe /F

goto copyfiles

:notrunning

rem Program is NOT running

:copyfiles

Rem TAKE CARE! The files will be overwritten without a prompt. If you want to have a prompt, remove /Y

xcopy \\Server\c\ProgramData\CMUV\DVBViewer\channels.dat C:\ProgramData\CMUV\DVBViewer /Y

xcopy \\Server\c\ProgramData\CMUV\DVBViewer\favourites.xml C:\ProgramData\CMUV\DVBViewer /Y

rem start DVBViewer

"C:\Program Files\DVBViewer\DVBViewer.exe"

Share this post


Link to post
VinoRosso

I am manageing it the opposite way. I maintain the channels and favorite on the server, with DVBViewer on the server. On the clients i use a batch file to copy channels and favorites to the client, then starts DVBViewer. To use this code, you need to modify to macth your folder and server name

 

Why dont you just use the option to download the channels and favorites from the server in the client settings?

 

http://en.DVBViewer.tv/wiki/Options_Recording_Service

Share this post


Link to post
McenterFreak

My way is more excotic, and exciting!!!

No, kidding. You are rigth. I didnt now this, and i will use it in the future. Thanks for the tip!

Share this post


Link to post
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...