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) v
« Previous 1 … 7 8 9 10 11 … 20 Next »
Files Plugin crashes when there is an ' in the file name.

 
  • 0 Vote(s) - 0 Average
Files Plugin crashes when there is an ' in the file name.
cbgifford
Offline

Member

Posts: 189
Threads: 20
Joined: Aug 2014
#21
2014-12-07, 10:13 AM
Hi Martin,

I checked the Wiki again just to make sure and the original Files is supposed to update the "NPVR database according". I reloaded the old one and moved something without an ' in it and it did update the database to where I could see and play it.
Chris


Server - Intel Core I3-3210 @ 3.40GHz - 8 GB RAM - Windows 10.0 Pro - Total Storage - 5.4 TB
Two Silicondust HD Prime CC capture, 6 tuners total
Client - Intel Core I3-3210 @3.2GHz - 4GB Ram - Windows 7.0 Pro
Client - Intel Core I3-3210 @2.9GHz - 4GB Ram - Windows 10.0 Pro
NAS - Intel Core I3-3220T @ 2.8GHz - 4GB RAM - Windows 10.0 Pro (Total Storage - 25 TB)


mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,107
Threads: 957
Joined: May 2006
#22
2014-12-07, 02:02 PM
cbgifford Wrote:I checked the Wiki again just to make sure and the original Files is supposed to update the "NPVR database according". I reloaded the old one and moved something without an ' in it and it did update the database to where I could see and play it.

I totally get that, since it is updating the database for me. I am trying to find out why that doesn't work for you. Maybe after a move try and play the file from Recordings so I can see where NextPVR thinks it is.

Martin
cbgifford
Offline

Member

Posts: 189
Threads: 20
Joined: Aug 2014
#23
2014-12-07, 04:42 PM
mvallevand Wrote:I totally get that, since it is updating the database for me. I am trying to find out why that doesn't work for you. Maybe after a move try and play the file from Recordings so I can see where NextPVR thinks it is.

Martin

I misunderstood you, sorry Martin. It's not in the Ready Recording at all to even try and play. Ok, I'm going to look at the db record of one I move before I move it and again right after I move it and see what happens to it using DB Browser For SQLite

The filename field in the scheduled_recording table does not change to the new location.

Which menu option are you using, Move or Archive? I've been using Move because I haven't resolved my permissions issue yet with the archive feature.
Chris


Server - Intel Core I3-3210 @ 3.40GHz - 8 GB RAM - Windows 10.0 Pro - Total Storage - 5.4 TB
Two Silicondust HD Prime CC capture, 6 tuners total
Client - Intel Core I3-3210 @3.2GHz - 4GB Ram - Windows 7.0 Pro
Client - Intel Core I3-3210 @2.9GHz - 4GB Ram - Windows 10.0 Pro
NAS - Intel Core I3-3220T @ 2.8GHz - 4GB RAM - Windows 10.0 Pro (Total Storage - 25 TB)


mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,107
Threads: 957
Joined: May 2006
#24
2014-12-07, 05:04 PM
cbgifford Wrote:I misunderstood you, sorry Martin. It's not in the Ready Recording at all to even try and play. Ok, I'm going to look at the db record of one I move before I move it and again right after I move it and see what happens to it using DB Browser For SQLite

The filename field in the scheduled_recording table does not change to the new location.

Which menu option are you using, Move or Archive? I've been using Move because I haven't resolved my permissions issue yet with the archive feature.

I'm using Move. I do spew out some junk to the console debug. If you have sysinternals tools installed run dbgview to see it. I can put more info on the file check against the database if you'd like.

Martin
cbgifford
Offline

Member

Posts: 189
Threads: 20
Joined: Aug 2014
#25
2014-12-07, 06:43 PM
mvallevand Wrote:I'm using Move. I do spew out some junk to the console debug. If you have sysinternals tools installed run dbgview to see it. I can put more info on the file check against the database if you'd like.

Martin

Don't know how informative it is but the output from dbgview is attached...
Chris


Server - Intel Core I3-3210 @ 3.40GHz - 8 GB RAM - Windows 10.0 Pro - Total Storage - 5.4 TB
Two Silicondust HD Prime CC capture, 6 tuners total
Client - Intel Core I3-3210 @3.2GHz - 4GB Ram - Windows 7.0 Pro
Client - Intel Core I3-3210 @2.9GHz - 4GB Ram - Windows 10.0 Pro
NAS - Intel Core I3-3220T @ 2.8GHz - 4GB RAM - Windows 10.0 Pro (Total Storage - 25 TB)


mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,107
Threads: 957
Joined: May 2006
#26
2014-12-07, 06:51 PM
It's more the location of the files.

The command that is being issued is

update SCHEDULED_RECORDING set filename = @target where filename like @filename

@target is \\HT01\Recordings\All in the Family\All in the Family.S08E16.Archie and the Super Bowl.ts
@filename is \\DT01\Recordings\All in the Family\All in the Family.S08E16.Archie and the Super Bowl.ts

Martin
cbgifford
Offline

Member

Posts: 189
Threads: 20
Joined: Aug 2014
#27
2014-12-07, 07:04 PM
mvallevand Wrote:It's more the location of the files.

The command that is being issued is

update SCHEDULED_RECORDING set filename = @target where filename like @filename

@target is \\HT01\Recordings\All in the Family\All in the Family.S08E16.Archie and the Super Bowl.ts
@filename is \\DT01\Recordings\All in the Family\All in the Family.S08E16.Archie and the Super Bowl.ts

Martin

There's the rub, \\DT01\Recordings. It's D:\Recordings in the database. Where is it picking up \\DT01\Recordings from?. I would have assumed you would use the OID to look up the record instead of the original location and update it that way.
Chris


Server - Intel Core I3-3210 @ 3.40GHz - 8 GB RAM - Windows 10.0 Pro - Total Storage - 5.4 TB
Two Silicondust HD Prime CC capture, 6 tuners total
Client - Intel Core I3-3210 @3.2GHz - 4GB Ram - Windows 7.0 Pro
Client - Intel Core I3-3210 @2.9GHz - 4GB Ram - Windows 10.0 Pro
NAS - Intel Core I3-3220T @ 2.8GHz - 4GB RAM - Windows 10.0 Pro (Total Storage - 25 TB)


cbgifford
Offline

Member

Posts: 189
Threads: 20
Joined: Aug 2014
#28
2014-12-07, 07:13 PM
cbgifford Wrote:There's the rub, \\DT01\Recordings. It's D:\Recordings in the database. Where is it picking up \\DT01\Recordings from?. I would have assumed you would use the OID to look up the record instead of the original location and update it that way.

You wouldn't know the OID, I think I know what's happening now.
Chris


Server - Intel Core I3-3210 @ 3.40GHz - 8 GB RAM - Windows 10.0 Pro - Total Storage - 5.4 TB
Two Silicondust HD Prime CC capture, 6 tuners total
Client - Intel Core I3-3210 @3.2GHz - 4GB Ram - Windows 7.0 Pro
Client - Intel Core I3-3210 @2.9GHz - 4GB Ram - Windows 10.0 Pro
NAS - Intel Core I3-3220T @ 2.8GHz - 4GB RAM - Windows 10.0 Pro (Total Storage - 25 TB)


mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,107
Threads: 957
Joined: May 2006
#29
2014-12-07, 07:14 PM
I would have used the oid but tmrt used the filename so as I wrote I didn't change db logic, just changed it to use parameters. That is why I don't understand why you say it works differently

I assume \\DT01\Recordings is coming from your Files configuration for the source Location.

Martin
cbgifford
Offline

Member

Posts: 189
Threads: 20
Joined: Aug 2014
#30
2014-12-07, 07:30 PM (This post was last modified: 2014-12-07, 07:41 PM by cbgifford.)
Here's what happened. I configured files to use the UNC path instead of the physical path trying to make it work on any client. For that to happen, I would also need to configure the default recording directory to use the UNC path as well instead of the drive letter. What caused me to do that in the first place was that the recording machine was having hardware issues so I moved the tuners to my desktop.

All I need to do to fix the problem is change the source recordings back to the physical drive instead of the UNC patch. On your end, I would add a check to make sure the source exists in the database and if it doesn't make a log entry for it then continue with the move.

Awesomeness!
Chris


Server - Intel Core I3-3210 @ 3.40GHz - 8 GB RAM - Windows 10.0 Pro - Total Storage - 5.4 TB
Two Silicondust HD Prime CC capture, 6 tuners total
Client - Intel Core I3-3210 @3.2GHz - 4GB Ram - Windows 7.0 Pro
Client - Intel Core I3-3210 @2.9GHz - 4GB Ram - Windows 10.0 Pro
NAS - Intel Core I3-3220T @ 2.8GHz - 4GB RAM - Windows 10.0 Pro (Total Storage - 25 TB)


« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 2 3 4 5 … 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextImport and side-by-side .ts and .mp4 files BrettB 36 8,940 2021-12-29, 04:30 AM
Last Post: samwiliams33
  Using R5000-HD with Network Recorder Plugin checkbin99 255 50,852 2021-08-24, 07:50 PM
Last Post: checkbin99
  how to configure RemoteRecorder Plugin to use remote NextPVR instance? bm_00 5 3,100 2020-10-06, 12:32 PM
Last Post: mvallevand
  IRSS and channel-changing batch files Len_Lekx 5 3,661 2018-07-18, 08:12 PM
Last Post: Len_Lekx
  Connecting NVPR to Emby Plugin NVPR Geek 0 1,343 2018-06-10, 12:32 AM
Last Post: NVPR Geek
  Help with batch file CDinger 4 3,531 2017-12-06, 04:34 AM
Last Post: CDinger
  YouTube Plugin whurlston 645 187,433 2017-11-25, 07:52 PM
Last Post: ga_mueller
  Removing commericals - tools to cut segments form h.264 files psycik 5 6,428 2017-08-23, 08:25 AM
Last Post: reven
  Newb here: Can someone help with a Plex Plugin issue? wepham 1 3,209 2017-02-07, 07:10 AM
Last Post: petenshari
  UpdateEPG Batch File for Using GuidePlus GWCowling323 1 3,179 2016-10-07, 10:49 AM
Last Post: Graham

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

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

Linear Mode
Threaded Mode