Page 1 of 8

[APP] Samy PVR Manager

Posted: Thu Dec 15, 2011 4:01 am
by Ramses
I've written a tool to list, rename and delete the recordings of a PVR disk.

There are two version:
  • GUI Version (with or without SamyGO FTP access)
  • Command Line Version (works without SamyGO FTP access)
Downoad the latest version here.

GUI Version (with or without SamyGO FTP access)
Start with double click the file SamyPvrManager-X.xx.jar

Command Line Version
Open a terminal (on a linux system)

You can list your recordings with:

Code: Select all

java -jar ~/samypvredit.jar -l /media/your-pvr-volume/CONTENTS
To set a new title you need write access to the INF file and the database folder.

Code: Select all

sudo a+rw /media/your-pvr-volume/CONTENTS/*.inf
sudo a+rw /media/your-pvr-volume/database
Then you can set a new title with:

Code: Select all

java -jar ~/samypvredit.jar -s /media/your-pvr-volume/CONTENTS/#number#.inf "New title"
If you have extended INF files (7475 bytes) you can set title and description.

Code: Select all

java -jar ~/samypvredit.jar -s /media/your-pvr-volume/CONTENTS/#number#.inf "New title" "New description"
The program is written in Java. You need a linux system or a bootable USB stick with e.g. Ubuntu.
Currently this is a beta version because I only tested german and terrestrial recordings.
Feel free to try it and post your results. You should backup your *.inf files if you want to test this tool.
It would also be a good idea to place some INF files here.

Sample output:

Code: Select all

Filename   : 20111201191406.inf
 Channel    : ProSieben [7] 
 Title      : The Voice of Germany
 Timer-Rec  : 20:15 - 22:15
 Start-Rec  : 2011-12-01 20:14:06 Donnerstag
 Duration   : 02:14:01
 Content    : Deutsch
 Language   : ger
 Description: In der ersten Phase, den "Blind Auditions", singen die Talente mit Liveband vor Nena, Xavier Naidoo, Rea Garvey und THE BOSSHOSS. Die Coaches sitzen mit dem R?cken zur B?hne und k?nnen die K?nstler nur anhand ihrer Stimme beurteilen. Ist einer der Coaches von einem S?nger ?berzeugt und m?chte ihn in seinem Team haben, dr?ckt er den Buzzer und bekommt ihn zum ersten Mal zu Gesicht.
Drehen sich mehrere Coaches um, entscheidet der K?nstler, welchem Team er angeh?ren m?chte.

[APP] Samy PVR Manager

Posted: Sun Feb 12, 2012 9:28 pm
by Ramses
On M$-Windows you can double click the JAR to start the program.

To use this program you have to run SamyGO at first. Then you can connect to your TV using the network name or via IP-address. The program will load all recordings and sort it by date. Now you can set a new title and on some new TVs a new description, too.

The program is written in Java. Currently this is a beta version because I only tested german and terrestrial recordings.
Feel free to try it and post your results. You should backup your recordings especially *.inf files if you want to test this tool.
It would also be a good idea to place some INF files for testing here.

[APP] Samy PVR Manager

Posted: Mon Feb 13, 2012 6:04 am
by juusso
Thanks! :)
Both topics merged.

Re: [APP] Samy PVR Manager

Posted: Tue Feb 14, 2012 12:34 am
by Spoza
Works fine on my TV (via FTP).
Any chance to be able to modify the recording time and duration?

Re: [APP] Samy PVR Manager

Posted: Tue Feb 14, 2012 9:46 pm
by Ramses
A short test shows: "Yes it's possible", but you can't cut or trim the video.

Re: [APP] Samy PVR Manager

Posted: Wed Feb 15, 2012 12:53 am
by Spoza
I can edit the video on PC (using e.g. VideoReDo) and then transfer it back via FTP. That works for me.

Re: [APP] Samy PVR Manager

Posted: Thu Feb 16, 2012 10:07 pm
by Ramses
I will implement it in the next version.

Re: [APP] Samy PVR Manager

Posted: Wed Feb 22, 2012 12:30 am
by Spoza
Some more observations...

Recordings content seems to be "cached" somehow:
- launch SamyGO PVR Manager, load the recordings content (Ctrl-O)
- delete some recordings on TV using the built-in manager
- reload the recordings content in SamyGO PVR Manager (Ctrl-O)
Result: it displays still the original content (including the deleted recordings)
Expected: the correct, updated content should be displayed

Corrupted characters in recordings title
I noticed that the Czech extended characters in edited recordings titles are corrupted.
Actually, it seems to corrupt even titles using only ASCII characters, but the corruption is not visible in these cases ;-). The reason is that the title is written back to the INF file using a single-byte encoding, while the original INF file uses unicode.
See attached 2 INF files, one untouched created by the TV and one edited using SamyGO PVR Manager (they are not from the same recording).

Re: [APP] Samy PVR Manager

Posted: Wed Feb 22, 2012 8:29 pm
by Spoza
Just checked a bit deeper another INF file... this is really funny... are the Samsung guys smoking something or what?... some data is written as Little Endian Unicode, other data as Big Endian Unicode... :-O

Re: [APP] Samy PVR Manager

Posted: Wed Feb 22, 2012 8:39 pm
by juusso
Spoza wrote:are the Samsung guys smoking something or what?
:lol: