NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) ProgramImageTool Move images to recording folder

 
  • 0 Vote(s) - 0 Average
Move images to recording folder
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#1
2007-12-14, 09:29 PM
Would it be possible to have the ProgramImageTool (PIT) look in the Recordings folder for folders, copy the appropriate image from the media/art folder, move the image to the appropriate folder and then rename it folder.jpg?

So if I record "The Office", it creates a folder "The Office". So PIT will look in the recordings folder and see "The Office". Then PIT will look in the media/art folder to see if "The Office.jpg" exists. If it does, it will move it to "The Office" folder in Recordings, and rename it folder.jpg.

Currently, I have to manually do this everytime I record an episode. Just thought this would be a nice feature to have with this tool.

Thanks!
Author of Weather (NPVR) & Weather2 (GBPVR)
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#2
2007-12-14, 11:24 PM
You may wish to have a look at JavaWiz's ShowImageTool (Batch version) too, it has some more options, but I'm not sure if this is one?

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#3
2007-12-15, 09:05 AM
Yep, you sure can...
From the wiki
* First run the Program with the /File option…

ProgramImageTool.exe /File %1

* This will download an image to the media/art directory.
* Second, run this line which will copy the image to the media library

FOR /F "TOKENS=3 DELIMS=\" %%A IN ("%~dp1") DO copy "media\art\%%A.jpg" "art\%%A.jpg"

* You will need to replace TOKENS=3 with TOKENS= the number of directory structures deep that your show records to.
o For example, If your show recording directory is D:\Recordings then you would use 3

‘D:\Recordings\The Simpsons\The Simpsons_20070106_01300200.mpg’ is 3 directories deep.

* Optionally, if you would like to copy the image to the folder where the recording is stored you could add this as the second line

FOR /F "TOKENS=3 DELIMS=\" %%A IN ("%~dp1") DO copy "media\art\%%A.jpg" "%~dp1\%%A.jpg"

* Again, replacing TOKENS=3 with the appropriate number.
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#4
2007-12-16, 03:27 AM
Oh, I saw that and thought it only had to do with XRecord, so I kinda skipped it.

Thanks...
Author of Weather (NPVR) & Weather2 (GBPVR)
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#5
2007-12-16, 07:30 AM
Maybe I'll clarify that in the wiki...
it's basically for if you want to move the downloaded image to another directory no matter what you're using.
It was written before the gui allowed images in the recordings dialog, so maybe i'll update it to be a little more PVRX2 friendly Wink
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
topcat
Offline

Member

United Kingdom
Posts: 85
Threads: 15
Joined: Feb 2007
#6
2009-04-13, 07:34 PM
ok how to get it to create the folder.jpg file please
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Images resized? JohnInSJ 1 6,961 2008-06-09, 03:51 PM
Last Post: Carlito
  Where are my images??? Joer. 10 12,692 2007-07-19, 02:40 PM
Last Post: Joer.

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode