You are not logged in.

Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, February 7th 2011, 7:03pm

[PATCH] Edit recordings in Live plugin

This patch set adds some new bells and whistles into the live plugin:
  • multiple deletion of recordings at the same time
  • rename/move recordings
  • delete marks/resume information of recordings
  • sorting recordings by name and date in both ascending and descending orders
  • enables YADIF deinterlacer automatically in VLC-1.1.x
  • inverts the initial value of 'Show duration in recordings'
  • beautifies (hopefully) the bottom row of the multischedule view
  • silences compilation warnings related to internals of TNTNET library

The patch set has now been committed into the official GIT repository.

This post has been edited 8 times, last edit by "rofafor" (Feb 10th 2011, 11:57pm)


fnu

Moderator

Posts: 8,265

Location: Böblingen

  • Send private message

2

Monday, February 7th 2011, 7:09pm

RE: [PATCH] Edit recordings in Live plugin

Quoted

Original von rofafor
- multiple deletion of recordings at the same time
- rename/move recordings

@rofafor

I did ask me a long time, when somebody with the right abilities will put these features into the plugin, ..., and you're the man ... :respekt

cheers
fnu
Gib HD+/CI+ keine Chance! >> HowTo: APT Pinning <<

>>click<< for my VDR stuff

[¹] Modu CD21, MeanWell (80W)/LC-Power (75W), Futaba MDM166A, Intel DH77EB, G1610, 4GB DDR3, Intel 313 SSD 24GB, WD20EFRX 2TB, Zotac GT630 ('GK208'), SHDD, L4M Twin S2 (V5.6)/FlexS2 (4x DVB-S2), rt Unicable®, CIR, Ubuntu LTS 12.04.4, VDR 2.1.6 (x64, 44W)
[²] Modu CD21, MeanWell (80W)/PicoPSU (90W), Futaba MDM166A, ASRock Q1900M, 2GB DDR3, Intel 320 SSD 40GB, WD10JFCX, Palit GT630 ('GK208'), SHDD, Octopus Net SAT>IP, rt Unicable®, mceusb, Ubuntu LTS 14.04, VDR 2.1.6 (x64, 24W)
[³] Cooler Master Elite 360, Xilence SPS-XP250.SFX (250W), Intel DH77KC, Xeon E3-1245v2, 8GB DDR3, Intel 313 SSD 24GB (Sys & HostCache), HP SA P400 256MB BBWC, 4x WD7500BPKX@Backpl., L4M Twin S2 (V5.4), VMWare ESXi 5.5 (6 VM)(x64, 45W)

cmsa

Intermediate

Posts: 234

Location: Rhein-Main

Occupation: Network Engineer

  • Send private message

3

Monday, February 7th 2011, 7:53pm

RE: [PATCH] Edit recordings in Live plugin

Quoted

Original von rofafor
... nice stuff ...


Didnt you forget "sort recordings by date"?
Asus M3N78-VM/Athlon II X2 250, Mystique Satix S2 V2, Atric IR, yaVDR 0.5 (prod)
ASRock Z77 Pro4-M/i5-3570K Ivy Bridge (experimental VAAPI) [Trusty]
ASRock FM2A75 Pro4-M/AMD A4-5300 (experimental UVD/VDPAU) [Trusty]

talpa

Intermediate

Posts: 347

Location: Mannheim

  • Send private message

4

Monday, February 7th 2011, 8:58pm

RE: [PATCH] Edit recordings in Live plugin

Quoted

Original von rofafor
The "editrecordings" patch adds new tricks into the live plugin:
- multiple deletion of recordings at the same time
- rename/move recordings
- delete marks/resume information of recordings

Great work - that's everything I ever wanted to see with respect to new features. Can't wait to try this out.
Too bad I'll be on a business trip the next two weeks :(

My Stuff

VDR-Server · GA-M720-US3 - AthlonX240 · 2x DVB-S2 TT 1600 · 1x DVB-S2 Mystique Satix Dual · 11 TB Archiv · Ubuntu 12.04 · vdr 2.0.6
VDR-Client 1 · Aopen i915HFS · GeForce 760 · Pentium M 745 · 250 GB System · yaVDR 0.3.2 - 2.0.6 · @Loewe Xemix 9006

5

Monday, February 7th 2011, 10:46pm

RE: [PATCH] Edit recordings in Live plugin

Thanks a lot!
yavdr 0.5 auf M3N78-EM, Cine S2

6

Tuesday, February 8th 2011, 11:04pm

RE: [PATCH] Edit recordings in Live plugin

Quoted

Originally posted by cmsa
Didnt you forget "sort recordings by date"?

Apparently. :) Anyway, I just added an initial implementation into the first post.

7

Wednesday, February 9th 2011, 3:28pm

@rofafor thx again !!
it seems that tadi is taking a vacation :D
no need to stop he is going to merge this afterwards :unsch

so dont stop !!

8

Wednesday, February 9th 2011, 4:13pm

Quoted

Originally posted by hotzenplotz5
so dont stop !!

Well, my needs are now fulfilled, so don't expect any new features from me. Could you test the moving functionality: the code compiles but no tests were actually made as I was too lazy to build up a test setup with multiple filesystems? :)

9

Wednesday, February 9th 2011, 4:26pm

Quoted

Could you test the moving functionality


to an usb-harddisk still not . should it work now ?
"Cannot rename or move the recording."

but no problem, this is very special, and i can move the recording in extrecmenu.

Quoted

so don't expect any new features from me


i dont miss any other feature.... or i dont know it yet :unsch
thx again !

there are many (2 or 3) other people testing live-plugin including your patches :
http://ppa.launchpad.net/yavdr/stable-vd…dr-plugin-live/


ok move recording:

Source code

1
2
3
4
5
6
Feb  9 16:52:48 zotac vdr: [8303] creating directory /srv/vdr/video.00/video-vdr/Pauline/Au_Pair_-_Ein_Kindermädchen_für_Papa
Feb  9 16:52:48 zotac vdr: [8303] creating directory /srv/vdr/video.00/video-vdr/Pauline/Au_Pair_-_Ein_Kindermädchen_für_Papa/2011-02-07.16.58.70-0.rec
Feb  9 16:52:48 zotac vdr: [8303] removing /srv/vdr/video.00/video-vdr/Pauline/Au_Pair_-_Ein_Kindermädchen_für_Papa/2011-02-07.16.58.70-0.rec//index
Feb  9 16:52:48 zotac vdr: [8303] removing /srv/vdr/video.00/video-vdr/Pauline/Au_Pair_-_Ein_Kindermädchen_für_Papa/2011-02-07.16.58.70-0.rec//resume
Feb  9 16:52:48 zotac vdr: [8303] removing /srv/vdr/video.00/video-vdr/Pauline/Au_Pair_-_Ein_Kindermädchen_für_Papa/2011-02-07.16.58.70-0.rec/
Feb  9 16:52:48 zotac vdr: [8303] [LIVE]: renaming failed from '/srv/vdr/video.00/Au_Pair_-_Ein_Kindermädchen_für_Papa/2011-02-07.16.58.70-0.rec' to '/srv/vdr/video.00/video-vdr/Pauline/Au_Pair_-_Ein_Kindermädchen_für_Papa/2011-02-07.16.58.70-0.rec'



should be fine .... dont know why the recording is not moving to this location ?

Source code

1
2
3
4
5
6
7
ls -la /srv/vdr/video.00
insgesamt 20
drwxr-xr-x 5 vdr vdr     4096 2011-02-09 16:31 .
drwxr-xr-x 3 vdr vdr     4096 2011-01-18 00:00 ..
drwxr-xr-x 3 vdr vdr     4096 2011-02-09 16:26 Au_Pair_-_Ein_Kindermädchen_für_Papa
-rw-r--r-- 1 vdr vdr        0 2011-02-09 16:26 .update
lrwxrwxrwx 1 vdr plugdev   16 2011-01-18 00:02 video-vdr -> /media/video-vdr

This post has been edited 5 times, last edit by "hotzenplotz5" (Feb 9th 2011, 5:05pm)


10

Wednesday, February 9th 2011, 5:10pm

dir is created but the recording not moved :

Source code

1
2
3
4
ls -la /media/video-vdr/Pauline/Au_Pair_-_Ein_Kindermädchen_für_Papa
insgesamt 8
drwxr-xr-x  2 vdr vdr 4096 2011-02-09 16:52 .
drwxr-xr-x 10 vdr vdr 4096 2011-02-09 16:52 ..

This post has been edited 3 times, last edit by "hotzenplotz5" (Feb 9th 2011, 5:12pm)


fnu

Moderator

Posts: 8,265

Location: Böblingen

  • Send private message

11

Wednesday, February 9th 2011, 5:39pm

Hi,

within OSD you can move recordings, if you just rename it like this:
  • Our example recording is named "Duck"
  • In recoding list choose the recording an press "8"
  • Rename w/ adding letters to look like "Donald~Duck"
  • Press Ok twice
If the directory "Donald" doesn't exists, it'll be created and the movie will be moved, otherwise just moved.

Doesn't it work in the same way, with the new renaming function in live plugin?

Regards
fnu
Gib HD+/CI+ keine Chance! >> HowTo: APT Pinning <<

>>click<< for my VDR stuff

[¹] Modu CD21, MeanWell (80W)/LC-Power (75W), Futaba MDM166A, Intel DH77EB, G1610, 4GB DDR3, Intel 313 SSD 24GB, WD20EFRX 2TB, Zotac GT630 ('GK208'), SHDD, L4M Twin S2 (V5.6)/FlexS2 (4x DVB-S2), rt Unicable®, CIR, Ubuntu LTS 12.04.4, VDR 2.1.6 (x64, 44W)
[²] Modu CD21, MeanWell (80W)/PicoPSU (90W), Futaba MDM166A, ASRock Q1900M, 2GB DDR3, Intel 320 SSD 40GB, WD10JFCX, Palit GT630 ('GK208'), SHDD, Octopus Net SAT>IP, rt Unicable®, mceusb, Ubuntu LTS 14.04, VDR 2.1.6 (x64, 24W)
[³] Cooler Master Elite 360, Xilence SPS-XP250.SFX (250W), Intel DH77KC, Xeon E3-1245v2, 8GB DDR3, Intel 313 SSD 24GB (Sys & HostCache), HP SA P400 256MB BBWC, 4x WD7500BPKX@Backpl., L4M Twin S2 (V5.4), VMWare ESXi 5.5 (6 VM)(x64, 45W)

This post has been edited 1 times, last edit by "fnu" (Feb 9th 2011, 6:00pm)


12

Wednesday, February 9th 2011, 6:07pm

fnu das klappt ja mit extrecmenu. in live kann ich das dir auch auswählen, nur verschieben klappt dann letztendlich nicht :



aber ich jammer auf sehr hohem niveau :unsch

This post has been edited 2 times, last edit by "hotzenplotz5" (Feb 9th 2011, 6:08pm)


fnu

Moderator

Posts: 8,265

Location: Böblingen

  • Send private message

13

Wednesday, February 9th 2011, 9:24pm

Holger, since rofafor isn't native speaker, I'll go ahead in English ...

It tried the function some minutes ago with the pimped package of your repository, thx for this. And well, it does work perfectly, as described above. New directories will be created if you rename your recording "directory~your-rec" and if it already exist, you could either use the same way or just choose the directory in the field below, like it does work in VDR OSD itself, w/o extrecmenu, what is maybe your problem in this case ... ?

Rolf, it does work like a charm! I moved several recordings forth and back, not one did fail, not one got lost ...

Cheers
Frank
Gib HD+/CI+ keine Chance! >> HowTo: APT Pinning <<

>>click<< for my VDR stuff

[¹] Modu CD21, MeanWell (80W)/LC-Power (75W), Futaba MDM166A, Intel DH77EB, G1610, 4GB DDR3, Intel 313 SSD 24GB, WD20EFRX 2TB, Zotac GT630 ('GK208'), SHDD, L4M Twin S2 (V5.6)/FlexS2 (4x DVB-S2), rt Unicable®, CIR, Ubuntu LTS 12.04.4, VDR 2.1.6 (x64, 44W)
[²] Modu CD21, MeanWell (80W)/PicoPSU (90W), Futaba MDM166A, ASRock Q1900M, 2GB DDR3, Intel 320 SSD 40GB, WD10JFCX, Palit GT630 ('GK208'), SHDD, Octopus Net SAT>IP, rt Unicable®, mceusb, Ubuntu LTS 14.04, VDR 2.1.6 (x64, 24W)
[³] Cooler Master Elite 360, Xilence SPS-XP250.SFX (250W), Intel DH77KC, Xeon E3-1245v2, 8GB DDR3, Intel 313 SSD 24GB (Sys & HostCache), HP SA P400 256MB BBWC, 4x WD7500BPKX@Backpl., L4M Twin S2 (V5.4), VMWare ESXi 5.5 (6 VM)(x64, 45W)

This post has been edited 2 times, last edit by "fnu" (Feb 9th 2011, 10:00pm)


14

Wednesday, February 9th 2011, 9:48pm

Quoted

Originally posted by hotzenplotz5
dir is created but the recording not moved

OK, I started the GDB, fixed some obvious bugs and uploaded a new patchset into the first post. Could you check, if this works any better?

This post has been edited 1 times, last edit by "rofafor" (Feb 10th 2011, 12:53pm)


15

Thursday, February 10th 2011, 5:26am

@fnu sure moving in "one" filesystem.
moving to an usb-harddisk not.

but thats why i said "jammern auf hohem niveau" :D

fnu

Moderator

Posts: 8,265

Location: Böblingen

  • Send private message

16

Thursday, February 10th 2011, 12:34pm

@hotzenplotz5

Ah, si, comprendido.

Well rofafor did just reflect the common "rename/move"-OSD function into live plugin and I think this is a huge step forward, because even that hasn't been there before ... :cool1

Cheers
Frank
Gib HD+/CI+ keine Chance! >> HowTo: APT Pinning <<

>>click<< for my VDR stuff

[¹] Modu CD21, MeanWell (80W)/LC-Power (75W), Futaba MDM166A, Intel DH77EB, G1610, 4GB DDR3, Intel 313 SSD 24GB, WD20EFRX 2TB, Zotac GT630 ('GK208'), SHDD, L4M Twin S2 (V5.6)/FlexS2 (4x DVB-S2), rt Unicable®, CIR, Ubuntu LTS 12.04.4, VDR 2.1.6 (x64, 44W)
[²] Modu CD21, MeanWell (80W)/PicoPSU (90W), Futaba MDM166A, ASRock Q1900M, 2GB DDR3, Intel 320 SSD 40GB, WD10JFCX, Palit GT630 ('GK208'), SHDD, Octopus Net SAT>IP, rt Unicable®, mceusb, Ubuntu LTS 14.04, VDR 2.1.6 (x64, 24W)
[³] Cooler Master Elite 360, Xilence SPS-XP250.SFX (250W), Intel DH77KC, Xeon E3-1245v2, 8GB DDR3, Intel 313 SSD 24GB (Sys & HostCache), HP SA P400 256MB BBWC, 4x WD7500BPKX@Backpl., L4M Twin S2 (V5.4), VMWare ESXi 5.5 (6 VM)(x64, 45W)

tadi

Trainee

Posts: 133

Location: Karlsruhe

  • Send private message

17

Thursday, February 10th 2011, 11:43pm

RE: [PATCH] Edit recordings in Live plugin

Hi Rolf

Quoted

Original von rofafor
This patch set adds some new bells and whistles into the live plugin:
  • multiple deletion of recordings at the same time
  • rename/move recordings
  • delete marks/resume information of recordings
  • sorting recordings by name and date in both ascending and descending orders
  • enables YADIF deinterlacer automatically in VLC-1.1.x
  • inverts the initial value of 'Show duration in recordings'
  • beautifies (hopefully) the bottom row of the multischedule view
  • silences compilation warnings related to internals of TNTNET library

Whow, what a list. Thank you very much for this great contribution!

Quoted

Original von hotzenplotz5
it seems that tadi is taking a vacation :D

Actually I was. I've had some great time with snowboarding in the Swiss Alps at the Jungfrau-Ski-Resort with great sunny weather :)

Since I'm now back again, I applied the patches provided in the first post of this thread into the 'official' LIVE git.
I had to fix the compilation for VDR versions without support for TS recordings and I updated the german translation. These changes are also in the LIVE git.

Thank you again and go ahead! :)

Greetings
Tadi

18

Friday, February 11th 2011, 12:06am

RE: [PATCH] Edit recordings in Live plugin

Quoted

Originally posted by tadi
I applied the patches provided in the first post of this thread into the 'official' LIVE git

Thanks! If someone feels bored, he could take a look at the MoveDirectory() function and rewrite it as it's just a butt ugly implementation, where I tried to misuse VDR's API as much as possible thus avoiding to write the code, that I'm personally never going to use.
Btw. I'd vote for a new release after a certain testing period.

19

Saturday, February 12th 2011, 12:20am

Rewrite the vdr function (??) - the same funktion in extrecmenu would need some love too. And i miss a copy function in both :) ;)
VDR User: 87 - LaScala LC14B - LG/Phillipps 6,4" VGA Display | Asrock H61/U3S3 | G630T | 1x 16GB Mobi Mtron 3035 1x WD 750GB 2,5" |1x L4m DVB-S2 Version 5.4

20

Saturday, February 12th 2011, 12:39am

RE: [PATCH] Edit recordings in Live plugin

Quoted

Original von rofafor
This patch set adds some new bells and whistles into the live plugin:
  • multiple deletion of recordings at the same time
  • rename/move recordings
  • delete marks/resume information of recordings
  • sorting recordings by name and date in both ascending and descending orders
  • enables YADIF deinterlacer automatically in VLC-1.1.x
  • inverts the initial value of 'Show duration in recordings'
  • beautifies (hopefully) the bottom row of the multischedule view
  • silences compilation warnings related to internals of TNTNET library

The patch set has now been committed into the official GIT repository.


i just got the live pluinupdate and i m happy about the new features to organize the recordings in the live plugin ( sorting and deleting after marking records )

thanks a lot ;)

Ubuntu 14.04 + stable XBMC 13 ( TeamXBMC Quellen ) on | Intel DH77EB | i3 2100T | 4 GB DDR3 | GF GT 520 | 2TB Samsung, 3TB WD HD | BQ 300W L7 | X10 Remote | TBS 6981 1LNB Aktiv |
Ubuntu 12.04 + stable XBMC 13 ( TeamXBMC Quellen ) on | Asus P5Q | C2Q 6600 | 4 GB 1066 DDR2 | GF GTX560 | 3 x 750 Samsung HD | BQ 450 W L8 |
---
Ubuntu 12.04 + stable XBMC 13 ( TeamXBMC Quellen ) on Lenovo T500

---
speefak.sytes.netwww.itoss.org