PDA

View Full Version : PPG - Portable Program Guide



wraggster
March 18th, 2008, 17:48
Cladil (http://xtreamlua.com/modules.php?name=Forums&file=viewtopic&t=3318) posted this news/release:


PPG - Portable Program Guide
V0.1

Introduction

PPG is a program that lets you view TV programs on your PSP.

Main display:


Installation

Unzip the archive following at the root of your MS:

http://sebonpsp.googlepages.com/PPGv01.zip (Flat or Slim in FW 3.xx)


Mode d'emploi

In the first mode, PPG will connect to the Internet (with the config 1), download the file programs in the current week, and then restart.

At the start of the main screen appears, with the current program and future on the bottom line
For the string selected.

Notes sur la mise à jour:

-- If you do not have Internet connection:
You can load the file programs since this link:
http://sebdelestaing.free.fr/tnt.prg.gz
Then paste it into the repertory of the EBOOT.

-- When update?
I regenerates the roster every Sunday, so on Sunday evening it should be good.


Controle

At the main screen:
* DPAD right / left lets you change string
* Cross to have more details about the program, then:
* DPAD Up / Down to select the next / previous
* Round retreat for the purpose of the program

* Triangle (maintain): Displays the menu, then:
* DPAD up / down to select an item
* Triangle (release): Enables the selected item


Credits

Code: Seb
Design: Cladil
Magician: Quadrizo


Warning

This is the version 0.1, so yes, we can not scroller when the program description fate of the screen, we can not select
Config network, we can not compare programs on several channels, we can not sort the strings, etc ...
All that will come later, thank you for your patience.


UPDATE: Scripts file creation prg
http://sebonpsp.googlepages.com/PPGScripts.zip

This archive contains the script update.sh that allows you to create your own file tnt.prg.gz (which should be called like that, whatever its content!). Addictions: wget, wput, md5sum, xmltv, libxml2.

Launch:
. / Update_tnt.sh
And / or
. / Update_freebox.sh

To create the files. Prg.gz respective companies. Note: the current version of PPG not charge the file if it is called tnt.prg.gz, so for free, you must rename the file.

Get_icons.sh is by no means automatic hand. I advise you not to try to add your icons. There will an icon PPG default.


The next release should not delay in arriving, with a lot of new features:
-- Choice of the connection (DONE)
-- Sort of chains by drag'n'drop (DONE)
-- New graphics (80%)
-- All the icons channels (DONE)
-- Default path screenshots -> PICTURES (DONE)
-- Config file (90%)
-- Support for other channels (ie. support other repository + other files prg) (RFR)

Enjoy

Download Here and Give Feedback via Comments

bacalacadaca
March 19th, 2008, 01:29
i tested it and got nowhere it loaded but it just stayed in loading a connection it didn't freeze but just didn't do anything and the third link doesn't work

jxx2005
March 19th, 2008, 01:53
based in france?!
awww
but i want canadian programming

anteopimp
March 19th, 2008, 02:23
so di I jxx, so I do...

OH CANADA, OUR HOME AND NATIVE LAND! TRUE PATRIOT LOVE IN ALL THY SONS COMMAND!

SebOnPSP
March 20th, 2008, 15:42
Hi,

the prg file is created using xmltv (see xmltv.org) so any countries supported by xmltv are supported. However, the 0.1 release was not really meant to let you use your own files.
Next version on the other hand has support for whatever repositories you want to set up. It's been released today, in French, at this adress:
PPG 0.2 released (http://www.devsgen.com/psp/index.php?topic=853.0)

binaries (not for kernel 1.5):
http://sebonpsp.googlepages.com/PPGv02.zip
and the script (linux + stuff, read the release notes):
http://sebonpsp.googlepages.com/PPGScripts02b.zip

After first start, a ppg.cfg file is created that should be fairly self explanatory, but feel free to contact me through desvgen.com PM or on the forum if you need help to create your own prg file. You'll need linux (and a ftp if you want to use the automatic updater).

Cheers
seb

rosera
June 6th, 2008, 22:59
Any chance you can open source xml2prg for those of us not on linux? I can get the appropriate feed ok but cant use it with the app, not without xml2prg anyways :(. Alternatively can you publish the file format :thumbup:

SebOnPSP
June 7th, 2008, 12:34
Sure, there you go:
http://sebonpsp.googlepages.com/xml2prg.c

Let me know if you need help to get it working.

seb

AdamRav
June 7th, 2008, 12:41
I installed this on my psp and didnt know what to do

i'll try it again and see what happens, im from the UK so im pretty sure there should be a tv guide.

can it be viewed offline or do you have to have a wifi connection ?????

AdamRav
June 7th, 2008, 15:28
NEed some help

how to i convert xml to your file format ???

rosera
June 21st, 2008, 19:43
Seb,

Having some trouble with the download of the file on PPG. I have generated file/gzip/md5 as per generate.sh and the used the upload.sh. The problem seems to be getting the download. I have tried to upload to the default address (with new filename) with no success. I have also tried adding my own URL again no success. Does the CFG file allow the URL to be changed? If not how do you go about downloading/using your own file? :confused:

BTW - If you dont have icons for xml2prg conversion you get a segmentation fault in the convert icon function (I just commented this routine out as I dont have any icons :thumbup:).

Appreciate the help.

rosera
June 21st, 2008, 19:56
AdamRav,

You need to use the xml2prg app to do this. It will take xmltv and make appropriate binary file to use with PPG.

Manual Process on linux (I use ubuntu):
1. generate binary
./xml2prg [in.xml] [out.prg]

2. zip the file
gzip [out.prg]

3. generate checksum
md5 [out.prg.gz]

You then need to get it onto a web server and amend PPG.Cfg ready for the app to download. I dont know how this bit works so hopefully Seb can help out. - Hope this helps

AdamRav
June 21st, 2008, 23:27
I got no web server so i dont think i can use this

thanks for the reply though

if anyone could host the uk channel guide it would be very helpful

:)

rosera
December 3rd, 2008, 21:57
For anyone using this very cool app here is how I generate UK listings.

1. Download xmltv listings for your region. If you dont have xml utils loaded on your machine you will need to google it. For the uk you will need a file called tv_grab_uk_rt. This grabs the tv listings from the radio times.

2. If you havent already amend the conf file (tv_grab_uk_rt.conf) to view only the channels you need.

3. Create your binary file using xml2prg
./xml2prg freebox.xml freebox.prg

4. zip the file: gzip freebox.prg -> freebox.prg.gz

5. Create checksum: md5sum freebox.prg.gz > freebox.prg.gz.md5

You now have your files generated and ready to use. You will need to run PPG once to download the default files. Then replace these files with freebox.prg.gz and freebox.prg.gz.md5.

Happy tv viewing. :thumbup:

Not sure how to replace icons as yet - anyone managed this?

rosera
December 6th, 2008, 20:09
Aha I have sorted the icon issue and now have a customised PPG running on my PSP :thumbup: This program is sweet - thanks SEB!

Mr.Denny
December 6th, 2008, 23:33
Hmmm, I've only just found this program. Should this work without a tv, pc prgram etc?

I've put in on the psp but get a "programme non disponible: Update necessaire" error message

rosera
December 7th, 2008, 23:25
You need to have a valid file in order for it to work. It basically takes a xmltv feed and displays the results. The base files are for French channels, so dependant on where you are in the world, you need to process your own for it to be useful. Fortunately, there are scripts to do this. I will have a release available tomorrow 8th Dec 08 for anyone requiring UK listings.

UK Listing - Work in progress (55ish channels)
http://agilemonkey.co.uk/Documents/freebox.prg.gz.zip

UK Images - not yet complete
http://agilemonkey.co.uk/Documents/images.zip

AdamRav
December 8th, 2008, 18:23
Thanks Rosera, look forward to it :)