View unanswered posts | View active topics It is currently Fri May 24, 2013 2:02 am



Reply to topic  [ 31 posts ]  Go to page 1, 2, 3, 4  Next
 How To use "TV Browser" with the PV76120 
Author Message

Joined: Tue Jun 21, 2011 6:13 am
Posts: 76
Location: Germany
Post How To use "TV Browser" with the PV76120
Hi,

I have written a small document how to use the TV Browser with the Playon PV76120.

If there is a problem with this guide or the implemenation just post it in the forum and I will try to answer your questions.

Dodger


Attachments:
File comment: How to for using the TV Browser with a PV76120
How to use the TV Browser with our Playon PV76120.pdf [240.95 KiB]
Downloaded 706 times
Fri Jul 08, 2011 8:38 am
Profile

Joined: Wed Jun 09, 2010 9:54 am
Posts: 6
Post Re: How To use "TV Browser" with the PV76120
Great job, it works!

Unfortunately, only 1 channel supported by TV Browser here in Czech republic (Ocko). Is there some possibility to get EPG data of other channels through PV76120 or else?

Thanks and keep developing...!

guruboy


Sat Jul 09, 2011 10:25 pm
Profile

Joined: Tue Jun 21, 2011 6:13 am
Posts: 76
Location: Germany
Post Re: How To use "TV Browser" with the PV76120
Hi to all,

I've made an update regarding the repetition of a schedule.
You now can choose the different modes for the repetition of a schedule.

Just follow the How-to.

Dodger

EDIT
I've uploaded a zip file containing the exe file mentioned in the How-to:
http://ul.to/hns4zggs
Therefore I hope you just have to configure the TV Browser and don't need to create the exe file by yourself.

EditEdit:
Maybe I should post the How-to...


Attachments:
How to use the TV Browser with our Playon PV76120.pdf [542.11 KiB]
Downloaded 185 times
Sun Jul 10, 2011 12:50 pm
Profile

Joined: Sat Oct 30, 2010 8:44 am
Posts: 6
Post Re: How To use "TV Browser" with the PV76120
Thanks for the howto, great tool to make our Playon's even more enjoyable.
I discovered that if you use the leadingZero command you can lose the zero adding part of the script.
Also you must double click on the TV external name to edit it, it wasn't apparent to me at first.

i.e. Change the parameters to {channel_name_external} {length_minutes} {start_year} {leadingZero(start_month)} {start_day} {leadingZero(start_hour)} {leadingZero(start_minute)}

This will add the leading zero if necessary then the following lines can be removed from the python script.

if int(day) < 10:
day = '0'+day
if int(month) < 10:
month = '0'+month
if int(start_hour) < 10:
start_hour = '0'+start_hour
if int(start_minute) < 10:
start_minute = '0'+start_minute
Cheers

_________________
Topfield PVRt 7000
AC Ryan Playon!DVR-HD


Mon Jul 11, 2011 1:36 am
Profile

Joined: Mon May 23, 2011 2:23 am
Posts: 30
Location: Melbourne, Australia
Post Re: How To use "TV Browser" with the PV76120
Dodger wrote:
Hi to all,

I've made an update regarding the repetition of a schedule.
You now can choose the different modes for the repetition of a schedule.
..
:geek:
(quote shortened)

All good mate - I generated the new exe and works well. Really happy with how this is developing.

Just one other small thing, do we just copy the parameter list to the deletion window - if so I imagine we can delete each instance (one at a time) , or should we set up a list of sub options for Delete Mon-Fri ....etc.?

_________________
Melbourne, Australia

ACR-PV76120
Firmware [Release Candidate] ACR-PV76120 v8.5.x.r5440 Playon!DVR-HD
TV-Browser 3.0.1 for fast, 2-week graphic EPG!
Windows 7 Home Premium
Firefox 9


Last edited by youRjokinMan on Mon Jul 11, 2011 8:18 am, edited 1 time in total.



Mon Jul 11, 2011 7:46 am
Profile

Joined: Tue Jun 21, 2011 6:13 am
Posts: 76
Location: Germany
Post Re: How To use "TV Browser" with the PV76120
By now I have no idea how to handle the deletion of a schedule.
I think it is to complicate to delete a schedule via TV Browser.
I would prefer to delete it via the Web-interface of the DVR.

Otherwise you have to find out which ID the schedule has and yoou have to compare it to the parameters you want to delete.
And not all information are mirrored from the DVR to its web interface (e.g. the repetition mode).

If you add a schedule I think it will get an ID in your DVR.
Example:
Schedule1 -> ID1
Schedule2 -> ID2
Schedule3 -> ID3

If Schedule1 has finished I think we will get this:
Schedule2 -> ID1
Schedule3 -> ID2

and from this point on I cannot figure out which schedule shall be deleted.

So I think deletion is best done at the DVR itself or via web interface.

Dodger


Mon Jul 11, 2011 8:05 am
Profile

Joined: Mon May 23, 2011 2:23 am
Posts: 30
Location: Melbourne, Australia
Post Re: How To use "TV Browser" with the PV76120
@Dodger

:1024/cgibin/cubermctrl.cgi?id=3&cmd=DELSCHEDULE&sn='+My_sn+'

seems like we need a way to collect as a variable the # for each of the recordings as they are sent to the PVR in the ADDSCHEDULE routine. It looks like the sn is permanent, autoincrimenting field/variable, but it's generated at the PVR. Could we generate it in python (or TV-Browser)?

Agreed, it's a pity the repitetitions aren't displayed in the PVR Web Manager.

Any ideas?

_________________
Melbourne, Australia

ACR-PV76120
Firmware [Release Candidate] ACR-PV76120 v8.5.x.r5440 Playon!DVR-HD
TV-Browser 3.0.1 for fast, 2-week graphic EPG!
Windows 7 Home Premium
Firefox 9


Tue Jul 12, 2011 4:23 am
Profile

Joined: Tue Jun 21, 2011 6:13 am
Posts: 76
Location: Germany
Post Re: How To use "TV Browser" with the PV76120
I think there is a possibility to read out the schedules via the python script.
We can read the whole website showing the schedule information.
After that we have to find a schedule that matches the configuration we want to delete.
The date has to be the same (but what about repeated schedules, do we have this information on the website and it is only not displayed??), the channel has to be the same and the time has to match.
If we find a schedule that matches all these thing we can delete it.

But for the development I must at first read out the website containing the schedule information.
After that I will try to adapt the python script.

Dodger


Tue Jul 12, 2011 6:07 am
Profile

Joined: Sat Jul 16, 2011 3:51 pm
Posts: 2
Post Re: How To use "TV Browser" with the PV76120
Dodger,

Thanks for sharing. Excellent work! :D

I couldn't get your .exe to download so I made my own.

I've got one minor mistake to point out; the main Python code in your Version 2 pdf is missing the last line:
html_quelltext = urllib.urlopen(sendestring).read()

That had me puzzled for a while until I examined the code and realised nothing was outputting the final string.

Oh, and the first 'import' has become capitalised, which of course generates a syntax error if you don't correct it when pasting.

For easier copying and pasting (and to avoid any unwanted characters that may get into the code when copying from the pdf), here's the whole thing:
Code:


import os
import sys
import urllib

Channel_Name = sys.argv[1]
length_minutes = int(sys.argv[2])
year = sys.argv[3]
month = sys.argv[4]
day = sys.argv[5]
start_hour = sys.argv[6]
start_minute = sys.argv[7]
repeat_mode = sys.argv[8]
IP_address=sys.argv[9]

Channel_Name=Channel_Name.replace('_',' ')

if int(day) < 10:
    day = '0'+day
if int(month) < 10:
    month = '0'+month
if int(start_hour) < 10:
    start_hour = '0'+start_hour
if int(start_minute) < 10:
    start_minute = '0'+start_minute

length_hour = length_minutes/60
length_minute = length_minutes % 60

if length_hour < 10:
    length_hour = '0'+str(length_hour)
else:
    length_hour = str(length_hour)
if length_minute < 10:
    length_minute = '0'+str(length_minute)
else:
    length_minute = str(length_minute)

sendestring= 'http://'+IP_address+':1024/cgi-bin/cubermctrl.cgi?id=3&cmd=ADDSCHEDULE&source='+Channel_Name+'&date='+year+'%2F'+month+'%2F'+day+'&hour='+start_hour+'&minute='+start_minute+'&len_hour='+length_hour+'&len_minute='+length_minute+'&repeat='+repeat_mode+'&device=HDD&quality=SP&nicam=OFF'

html_quelltext = urllib.urlopen(sendestring).read()


Sat Jul 16, 2011 7:52 pm
Profile

Joined: Thu Nov 24, 2011 2:00 am
Posts: 5
Location: Australia
Post Re: How To use "TV Browser" with the PV76120
Hi all, Play On DVR Noob here.

Just got myn a few days ago and have been disapointed by in built EPG.
So I was excited to see this How To.

I downloaded and installed TV-Browser 3.1 (Current Version)
However following your How To the icon to setup the device does show on the Tool Bar.
I've searched around the drop downs etc with no luck.
Im thinking the Add Device is now an Add On.

Any ideas on what its called?


Fri Dec 16, 2011 12:18 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 31 posts ]  Go to page 1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by: phpBB | Innitial forum Design by: STSoftware | Modified by: AC Ryan.