NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 58 59 60 61 62 … 193 Next »
Generic process this file/directory from Video Library

 
  • 0 Vote(s) - 0 Average
Generic process this file/directory from Video Library
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#1
2008-10-07, 04:19 PM
There have been many times when I'd like to do something with a video file or directory full of video files that I've located when browsing through the Video Library.

For example:

1) sometimes, I'd like to move it to another drive and update the database,
2) other times I'd like to watch it with a different player,
3) still other times, I'd like to import it into the Recordings database (I do this because it makes it easy to find a file I'm thinking about watching, and it lets me "resume" and keep track of what I've watched by marking it.)

For 1) someone posted a clever way to use the Transcoding option to run a batch file that sends all the files to another drive and updates the database. For 3) I used the same method to run a batch file and run a video import utility.

For 2), I can do this with an iso file, by changing config.xml to run a batch file instead of the Daemon Tools executable. The batch file identifies it as a BluRay iso or regular DVD iso and then uses the player I want.

However, these are all hacks, and none work with a complete directory: they only work with certain video format files capable of being transcoded or with an iso file.

It occurs to me that it would be really nice to have a generic option, like the Transcode option that runs a selected homebrew batch file for the selected directory or video file.

Config.xml would simply store a name for each batch file you want to be able to run (similar to the way there is a name for each Transcode option in config.xml) and would pass the selected file/dir to the batch file as the %1 parameter (just as Transcode does).

You'd point to a file or dir and select the Process File/Dir tab from the Video Library screen (just like you currently select Transcode), you'd choose the name associated with the batch file you want to run for that file/dir (just like you choose the Transcode name from the pulldown list) and the batch file would be run by GBPVR.

The specific batch file would be supplied by the user to do whatever he wanted. In my case, I've already got the batch files, I just need a way to run them for all video file types extensions and for directories, instead of just for certain types of video files.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2008-10-08, 12:43 AM
i made another batch that does a whole series/dir too Big Grin
not sure if i posted that one or not tho...
nice thing about the profiles is, you can use them in overnight processing also..

i've been needing to make a wiki page just for all my various batch files..
let me know if you want/can't find the relocdir.bat and i'll send you mine...

archiver is so much nicer now that i have gigabit net..Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#3
2008-10-08, 05:52 AM
i found it in 7th post on that thread...Smile
updated to include .avi .wmv. .ts and .dvr-ms too...
enjoy Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#4
2008-10-08, 01:28 PM
pBS Wrote:i found it in 7th post on that thread...Smile
updated to include .avi .wmv. .ts and .dvr-ms too...
enjoy Big Grin

Yes, I did see that update, but I haven't tried it. I assume you can fire it up through transcoder? If you do , then I also assume you start it by pointing to one of files, not the directory containing the files?

I couldn't see any way to start a batch file through transcoder on a dir name. Similarly, I couldn't get a batch file to start through transcoder on an .mkv file - it had to be an .avi, .mpg etc.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2008-10-08, 04:04 PM
yep, have to select a file...
i assume the mkv is like the dvr-ms and it may be hard-coded how it handles those..
[tho completely baffled as to why]
can't do anything with dvr-ms in transcode except make a mpg out of it..
and now .mkv too? bummer...
no clue why, cuz ffmpeg can transcode them fine without mods...
i hope it gets fixed sometime soon..
so nothing i can do about it..

but you could point at any other file in that dir and it should work fine..Smile
[should you have some in there]

and glad i don't use either container...lol Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#6
2008-10-08, 04:58 PM
pBS Wrote:can't do anything with dvr-ms in transcode except make a mpg out of it..

I use dvr-ms, but only on my largest drive , which is dedicated to digital recordings, so I don't need to do much with them.

OTOH, the refusal of transcode to see .mkv is sort of a pain as I sometimes want to put the .mkv into the Recordings list while wandering through my Video Library screens. They seem to play just fine from there and the Recordings list will let me resume properly. I currently put them into Recordings by drag and drop onto my video import batch file, but I have to do that outside GBPVR.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#7
2008-10-08, 10:12 PM
do you see the .mkv files in video library at all? if not you can add them to the list of supported extensions in config.xml Smile
as far as i know you can put any ext. in there...Big Grin

i wasn't sure if you meant you could see them in list but trying to transcode didn't work..
<VideoLibraryExtensions>
but don't mess up the first one,add in middle somewhere..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#8
2008-10-09, 01:28 PM
pBS Wrote:do you see the .mkv files in video library at all?

Yes, I can see them and play them. Selecting Transcode, however does nothing if the highlighted file ends .mkv

Quote:if not you can add them to the list of supported extensions in config.xml Smile
as far as i know you can put any ext. in there...Big Grin

i wasn't sure if you meant you could see them in list but trying to transcode didn't work..
<VideoLibraryExtensions>
but don't mess up the first one,add in middle somewhere..

I haven't looked at that part of config.xml (actually, I must have seen it, but I don't recall it). I assume, since I can see them in Video Library, that .mkv is already in that list? Or does this control whether Transcode will process them?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Collosus 2 & HVR 2210 - Composite, S Video inputs peter t 8 1,097 2023-11-07, 10:58 PM
Last Post: mvallevand
  Request for XMLTV EPG Export Link or/and File t2t4 3 1,406 2022-11-24, 01:15 PM
Last Post: mvallevand
  Import m3u on device list - file/folder navigator psycik 1 937 2022-09-28, 08:25 PM
Last Post: mvallevand
  [Kodi] Directory Folders for Recordings Panic 14 3,112 2022-07-28, 03:59 PM
Last Post: mvallevand
  Local Media Library with NAS Connectivity joestk 1 1,097 2022-05-27, 06:35 PM
Last Post: mvallevand
  Import m3u file VCR58 3 3,266 2022-02-18, 03:39 AM
Last Post: sub
  Variable based custom file naming kamhouse 8 2,033 2021-12-06, 06:59 PM
Last Post: sub
  Minor Update to File Date Format johnnyz 7 3,050 2020-04-26, 04:13 PM
Last Post: johnnyz
  Watched Indicator for Multiple Video Files with the Same File Name cweseloh 1 1,782 2018-06-26, 05:02 PM
Last Post: sub
  Better subtitling positioning on Video and TV (Live and Recorded). GuruSR 7 3,148 2018-04-19, 04:33 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode