NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 54 55 56 57 58 … 93 Next »
How to use MSDE(SQL Server) as GBPVR Database

 
  • 0 Vote(s) - 0 Average
How to use MSDE(SQL Server) as GBPVR Database
Urbansk
Offline

Junior Member

Posts: 31
Threads: 1
Joined: May 2006
#121
2006-05-22, 07:26 AM
Hi!

After digging around i found some information that might bring some light to the issue.

When gbpvr connects it turns Quoted identifiers on. I have tried to set it to off in the database and the server buth it turns on whenever gbpvr connects to the db. Read moore on this link:
http://www.sqlteam.com/item.asp?ItemID=1649
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#122
2006-05-22, 04:21 PM
GB-PVR doesnt turn it on. It must be some default to have it enabled.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#123
2006-05-22, 05:45 PM
Urbansk, check the options for the SQL Server OLEDB and set them to what you want them to be. I did manage in prior versions of GBPVR to get it working fairly well with SQL Sever, but it takes some tweaking to get it working. I haven't tried it in over a year though.
matthrolf
Offline

Member

Posts: 133
Threads: 34
Joined: Jan 2006
#124
2006-05-22, 10:23 PM
New verison works with MSDE/SQL 2k
Urbansk
Offline

Junior Member

Posts: 31
Threads: 1
Joined: May 2006
#125
2006-05-31, 05:46 PM
Hi!

I might have some issues with the DB config. I have done a conversion of the access db with the upsizing tool in access.

When trying to schedule a recording for a whole season i get this in the log.

2006-05-31 19:39:44.973 VERBOSE [1] Looking for capture source to record: Människans sexualitet
2006-05-31 19:39:44.988 VERBOSE [1] Possible capture device: DEVICE:Hauppauge PVR500 with FM tuner:1
2006-05-31 19:39:45.004 VERBOSE [1] Possible capture device: DEVICE:Hauppauge PVR500 with FM tuner:2
2006-05-31 19:39:45.004 VERBOSE [1] Checking 'PVR Tuner ONE' (DEVICE:Hauppauge PVR500 with FM tuner:1)
2006-05-31 19:39:45.004 VERBOSE [1] Checking 'PVR Tuner TWO' (DEVICE:Hauppauge PVR500 with FM tuner:2)
2006-05-31 19:39:45.051 VERBOSE [1] RecordingFactory.save()
2006-05-31 19:39:45.191 ERROR [1] Unabled to save ScheduledRecording: Invalid character value for cast specification.
2006-05-31 19:39:45.301 ERROR [1] at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at GBPVR.Backend.Common.x396614b3dae3b1da.xc979432fcc5a510a(ScheduledRecording xe41d2b9d98dc1269)
2006-05-31 19:39:45.316 VERBOSE [1] RecordingFactor.ScheduleSeasonRecordings(8, Människans sexualitet)
2006-05-31 19:39:45.316 VERBOSE [1] getValue() loading new key/value into cache: /settings/AvoidDuplicateRecordingsIfPossible
2006-05-31 19:39:45.316 VERBOSE [1] getValue: /settings/AvoidDuplicateRecordingsIfPossible : false
2006-05-31 19:39:45.410 VERBOSE [1] RecordingFactory.getExtrasForGroup(16)
2006-05-31 19:39:45.441 VERBOSE [1] Requesting recording service schedule reload
2006-05-31 19:39:45.535 VERBOSE [1] RecordingFactory.save()
2006-05-31 19:39:45.598 VERBOSE [1] Save(): Updated existing reoccuring extras record
2006-05-31 19:39:51.441 VERBOSE [1] controller.OnMouseDown()
2006-05-31 19:39:51.488 VERBOSE [1] controller.OnClick()
2006-05-31 19:39:51.566 VERBOSE [1] controller.OnMouseDown()
2006-05-31 19:39:51.691 VERBOSE [1] Initializing skin helper for: .\skin\Blue\recordings\skin.xml
2006-05-31 19:39:51.723 VERBOSE [1] getValue cached value: /settings/PreShowPadding : 1
2006-05-31 19:39:51.723 VERBOSE [1] getValue cached value: /settings/PostShowPadding : 2
2006-05-31 19:39:52.941 VERBOSE [1] controller.OnMouseDown()
2006-05-31 19:39:53.066 VERBOSE [1] controller.OnClick()
2006-05-31 19:39:54.488 VERBOSE [1] controller.OnMouseDown()
2006-05-31 19:39:54.582 VERBOSE [1] controller.OnClick()
2006-05-31 19:39:54.582 VERBOSE [1] Looking for capture source to record: Människans sexualitet
2006-05-31 19:39:54.582 VERBOSE [1] Possible capture device: DEVICE:Hauppauge PVR500 with FM tuner:1
2006-05-31 19:39:54.582 VERBOSE [1] Possible capture device: DEVICE:Hauppauge PVR500 with FM tuner:2
2006-05-31 19:39:54.582 VERBOSE [1] Checking 'PVR Tuner ONE' (DEVICE:Hauppauge PVR500 with FM tuner:1)
2006-05-31 19:39:54.582 VERBOSE [1] Checking 'PVR Tuner TWO' (DEVICE:Hauppauge PVR500 with FM tuner:2)
2006-05-31 19:39:54.582 VERBOSE [1] RecordingFactory.save()
2006-05-31 19:39:54.598 ERROR [1] Unabled to save ScheduledRecording: Invalid character value for cast specification.
2006-05-31 19:39:54.598 ERROR [1] at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at GBPVR.Backend.Common.x396614b3dae3b1da.xc979432fcc5a510a(ScheduledRecording xe41d2b9d98dc1269)
2006-05-31 19:39:54.598 VERBOSE [1] RecordingFactor.ScheduleSeasonRecordings(8, Människans sexualitet)
2006-05-31 19:39:54.598 VERBOSE [1] getValue cached value: /settings/AvoidDuplicateRecordingsIfPossible : false
2006-05-31 19:39:54.598 VERBOSE [1] RecordingFactory.getExtrasForGroup(16)
2006-05-31 19:39:54.613 VERBOSE [1] Requesting recording service schedule reload
2006-05-31 19:39:54.613 VERBOSE [1] RecordingFactory.save()
2006-05-31 19:39:54.613 VERBOSE [1] Save(): Updated existing reoccuring extras record
2006-05-31 19:39:58.082 VERBOSE [1] controller.OnMouseDown()
2006-05-31 19:39:58.176 VERBOSE [1] controller.OnClick()
2006-05-31 19:39:58.191 VERBOSE [1] loadRecordings():1
2006-05-31 19:39:58.191 VERBOSE [1] RecordingFactory.loadSchedule()
2006-05-31 19:39:58.191 VERBOSE [1] getValue cached value: /settings/AutoRemoveMissingRecordings : false
2006-05-31 19:39:58.207 VERBOSE [1] loadRecordings():2
2006-05-31 19:39:58.207 VERBOSE [1] loadRecordings():3
2006-05-31 19:39:58.207 VERBOSE [1] loadRecordings():4
2006-05-31 19:39:58.207 VERBOSE [1] loadRecordings():5
2006-05-31 19:39:58.207 VERBOSE [1] loadRecordings():6
2006-05-31 19:39:58.207 VERBOSE [1] loadRecordings():7
2006-05-31 19:39:59.613 VERBOSE [1] controller.OnMouseDown()
2006-05-31 19:39:59.723 VERBOSE [1] controller.OnClick()
2006-05-31 19:39:59.738 VERBOSE [1] loadRecordings():1
2006-05-31 19:39:59.738 VERBOSE [1] RecordingFactory.loadSchedule()
2006-05-31 19:39:59.738 VERBOSE [1] getValue cached value: /settings/AutoRemoveMissingRecordings : false
2006-05-31 19:39:59.738 VERBOSE [1] loadRecordings():2
2006-05-31 19:39:59.754 VERBOSE [1] loadRecordings():3
2006-05-31 19:39:59.754 VERBOSE [1] loadRecordings():4
2006-05-31 19:39:59.754 VERBOSE [1] loadRecordings():5
2006-05-31 19:39:59.754 VERBOSE [1] loadRecordings():6
2006-05-31 19:39:59.754 VERBOSE [1] loadRecordings():7
2006-05-31 19:40:06.301 VERBOSE [1] HideMouse ref=-1
2006-05-31 19:40:10.613 VERBOSE [1] ShowMouse ref=0
2006-05-31 19:40:13.035 VERBOSE [1] controller.OnMouseDown()
2006-05-31 19:40:13.113 VERBOSE [1] controller.OnClick()
2006-05-31 19:40:14.738 VERBOSE [1] controller.OnMouseDown()
2006-05-31 19:40:14.879 VERBOSE [1] controller.OnClick()
2006-05-31 19:40:19.285 VERBOSE [1] HideMouse ref=-1
2006-05-31 19:40:19.598 VERBOSE [1] controller.OnMouseDown()
2006-05-31 19:40:19.691 VERBOSE [1] controller.OnClick()
2006-05-31 19:40:19.707 VERBOSE [1] getValue() loading new key/value into cache: /settings/NetRadioBufferSize
2006-05-31 19:40:19.707 VERBOSE [1] getValue: /settings/NetRadioBufferSize : 96000
.

Any hints or perhaps you could provide a DDL script for the db?

Regards,

Urban
matthrolf
Offline

Member

Posts: 133
Threads: 34
Joined: Jan 2006
#126
2006-05-31, 07:40 PM
Which version are you running (both gbvr and msde)?
Urbansk
Offline

Junior Member

Posts: 31
Threads: 1
Joined: May 2006
#127
2006-06-01, 05:54 AM
Gbpvr 0.97.7
SQL Server 2005 Express Edition SP1
matthrolf
Offline

Member

Posts: 133
Threads: 34
Joined: Jan 2006
#128
2006-06-01, 06:58 AM
I don't know how to do this in SQL 2005 express, but try to change the database compatibiliy to 80 (back to 2k sql commands and datatypes). I know this is possible in the full versions of SQL 2k5. Other than that it looks like a data type problem in the recording_schedule table. Try to upload a screenshot of the design of that table if the compatibility does not help.

Matt
Urbansk
Offline

Junior Member

Posts: 31
Threads: 1
Joined: May 2006
#129
2006-06-03, 11:39 AM
Tried changing to 80 with no succes.
However, the following schedule type works:
Record Season (all in this weekly timeslot, this channel)
Record Season (all in this daily timeslot, this channel)

But not:
Record Season (all episodes on this channel)

I get this error message in gbpvr.exe.log:

2006-06-03 13:27:15.912 ERROR [1] Unabled to save ScheduledRecording: Invalid character value for cast specification.
2006-06-03 13:27:16.006 ERROR [1] at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at GBPVR.Backend.Common.x396614b3dae3b1da.xc979432fcc5a510a(ScheduledRecording xe41d2b9d98dc1269)

Using SQLiteSpy.exe i have checked the datatypes to match my settings.

I am fresh out of ideas. perhaps it has to do with date handling as i live in Sweden and we have a different way of presenting dates and times.

I do not know what the difference is in the various recording season and date handling.
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#130
2006-06-14, 01:30 PM
I just wanted to chime in and say that I got SQL Server 2005 (developer ed) working smoothly with GBPVR with little trouble at all. I used the Access upsizing wizard to create the database, set the connection string in the config.xml and was off to the races.

Once I enabled TCP/IP connectivity to the database I was able to get my GBPVR client running as well (from another machine).
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (15): « Previous 1 … 11 12 13 14 15 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Determine Server Tuner/Recorder Status from Console App 27InchSony 13 8,548 2016-12-21, 05:03 AM
Last Post: mvallevand
  Looking for C# UPnP Media Server code bgowland 5 7,776 2016-12-16, 08:25 PM
Last Post: mvallevand
  TitanTv Remote Schedule For GBPVR UncleJohnsBand 51 34,617 2015-08-20, 05:11 PM
Last Post: sub
  Delete recordings from database but not from disk? spinnaker 8 3,962 2013-10-26, 10:51 PM
Last Post: spinnaker
  trying to fake npvr database for unit tests reven 3 2,333 2013-05-20, 08:53 AM
Last Post: reven
  Roku & GBPVR pvruser 16 11,684 2011-10-16, 08:31 PM
Last Post: pvruser
  (Yet Another) Rename Helper script for GBPVR & NPVR pvruser 2 2,802 2011-07-22, 01:27 AM
Last Post: pvruser
  Merged database queries mvallevand 4 2,186 2011-06-26, 09:56 PM
Last Post: mvallevand
  NPVR database questions mvallevand 25 10,055 2011-01-06, 12:58 AM
Last Post: jksmurf
  NPVR database - why so stringy with the fields?? :0) carpeVideo 4 2,150 2010-09-21, 01:48 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