SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Gemstone for v7
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Gemstone for v7 This forum is for discussing the user-created Gemstone custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-05-2015, 08:12 AM
crawfofd crawfofd is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Florida
Posts: 76
Setting watch flag in Gemstone

I am new to Gemstone and am slowly getting it. I have one problem right now and it is with the watched flag. I can not set it via the Gemstone views. The non Gemstone views I can. I am using Sage v9 OS. Any help would be appreciated.
I really enjoy the Gemstone plugin.
__________________
SageTV Server 7.1.x Win7 64bit SP1, AMD Phenom II x6 1100T, nVidia GeForce GT 520, 16GB DDR3 Asus m5a97 EVO, (2) HD300, SageTV server and SageTV server as a extender, 1 Sagetv Client on a SYX ion.
Reply With Quote
  #2  
Old 11-05-2015, 08:15 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I recall having the same issue... Took me a while to figure it out

IN the flow options I think you need to turn on the detailed play options (something like that) and when you do, you get a very busy play dialog that includes Watched, Delete, and bunch of other stuff.

I think the alternative is probably to use the "Watched" button on the remote.

If there is another easier way, I'd like to know as well
Reply With Quote
  #3  
Old 11-05-2015, 08:23 AM
crawfofd crawfofd is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Florida
Posts: 76
Thanks stuckless I will look for that now.
__________________
SageTV Server 7.1.x Win7 64bit SP1, AMD Phenom II x6 1100T, nVidia GeForce GT 520, 16GB DDR3 Asus m5a97 EVO, (2) HD300, SageTV server and SageTV server as a extender, 1 Sagetv Client on a SYX ion.
Reply With Quote
  #4  
Old 11-05-2015, 08:43 AM
crawfofd crawfofd is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Florida
Posts: 76
Stuckless I tried looking for 'detailed play option' or something like that but only could find 'Show play options' and that does not fix it. I do get the 'watched' option to set when I select a video but it will not let me set it. It really seems like a permissions problem in Gemstone.
__________________
SageTV Server 7.1.x Win7 64bit SP1, AMD Phenom II x6 1100T, nVidia GeForce GT 520, 16GB DDR3 Asus m5a97 EVO, (2) HD300, SageTV server and SageTV server as a extender, 1 Sagetv Client on a SYX ion.
Reply With Quote
  #5  
Old 11-05-2015, 08:59 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by crawfofd View Post
Stuckless I tried looking for 'detailed play option' or something like that but only could find 'Show play options' and that does not fix it. I do get the 'watched' option to set when I select a video but it will not let me set it. It really seems like a permissions problem in Gemstone.
I'm not in front of a TV at the moment, but like I said, took me a long time to actually find it... like several days I gave up a number of times... but then a certain combination of those detailed options ended up enabling the dialog that contains the watched, delete, etc. Keep playing with the options unil Jusjoken chimes in
Reply With Quote
  #6  
Old 11-05-2015, 09:07 AM
crawfofd crawfofd is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Florida
Posts: 76
Sounds good. I will keep plugging along. Thanks for our response.
__________________
SageTV Server 7.1.x Win7 64bit SP1, AMD Phenom II x6 1100T, nVidia GeForce GT 520, 16GB DDR3 Asus m5a97 EVO, (2) HD300, SageTV server and SageTV server as a extender, 1 Sagetv Client on a SYX ion.
Reply With Quote
  #7  
Old 11-05-2015, 09:40 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
On a media item press select/enter. This should open a dialog.

If it does NOT open a dialog then go into Options/Customize and change ENTER=Play to No.

Now in the dialog, ensure the Advanced Options is selected to show the Watched toggle button.

That should allow you to toggle watched on single items.

If you want to set/clear watched on groupings you need to press the WATCHED button on the remote and that will bring up a dialog to allow setting or clearing the watched flag on all the grouped items.

k
Reply With Quote
  #8  
Old 11-05-2015, 10:48 AM
crawfofd crawfofd is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Florida
Posts: 76
jusjoken, thanks for your reply.
I have done exactly what you mentioned, but it does not let me change the watched status. I can see it. It just wont change. Does it have to be with a remote? I've tried ctrl-w and just highlighting it and pressing enter.
I can go to the 'Folders or Titles' under video and it changes no problem.
Any more suggestions??
__________________
SageTV Server 7.1.x Win7 64bit SP1, AMD Phenom II x6 1100T, nVidia GeForce GT 520, 16GB DDR3 Asus m5a97 EVO, (2) HD300, SageTV server and SageTV server as a extender, 1 Sagetv Client on a SYX ion.
Reply With Quote
  #9  
Old 11-05-2015, 11:18 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
If you have the option and it's not changing status then it must be throwing an error. I would need you to ensure logging is on DEBUG (Main menu, press options, Utility Functions, Log Options....turn Sage and Gemstone logging on and Gemstone to DEBUG).

Recreate the problem and then upload the sage log (from the SageTV folder) as well as the gemstone.log from the logs folder.

k
Reply With Quote
  #10  
Old 11-05-2015, 11:46 AM
crawfofd crawfofd is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Florida
Posts: 76
It looks like I might have found the problem. I've been using the sagetv service and when I turn it off and just use sagetv I can change the watch status. I'm using version 9 of sagetv so I don't know if that might be the issue.
I turned the debug on but where do I go to get the log??
__________________
SageTV Server 7.1.x Win7 64bit SP1, AMD Phenom II x6 1100T, nVidia GeForce GT 520, 16GB DDR3 Asus m5a97 EVO, (2) HD300, SageTV server and SageTV server as a extender, 1 Sagetv Client on a SYX ion.
Reply With Quote
  #11  
Old 11-05-2015, 12:01 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
The SageTV log is in the SageTV folder and called sagetv_0.txt. The gemstone.log file is in the logs folder under SageTV/logs

However, if running as a service causes the issue then I suggest it's a permissions issue. You need to go into the Sage TV Service Control app and use the Change User function to set the user to a user with all the permissions needed for the folder where the media is stored.

I believe that will solve this.

k
Reply With Quote
  #12  
Old 11-05-2015, 12:18 PM
crawfofd crawfofd is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Florida
Posts: 76
Yeh, that was my first thought too, but the user I have logging in does have all the rights, plus I can change the watch status under the original folder and title views that are standard.
__________________
SageTV Server 7.1.x Win7 64bit SP1, AMD Phenom II x6 1100T, nVidia GeForce GT 520, 16GB DDR3 Asus m5a97 EVO, (2) HD300, SageTV server and SageTV server as a extender, 1 Sagetv Client on a SYX ion.
Reply With Quote
  #13  
Old 11-05-2015, 12:50 PM
crawfofd crawfofd is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Florida
Posts: 76
I have attached the log files. (I think)
Attached Files
File Type: zip TheTemp.zip (111.1 KB, 130 views)
__________________
SageTV Server 7.1.x Win7 64bit SP1, AMD Phenom II x6 1100T, nVidia GeForce GT 520, 16GB DDR3 Asus m5a97 EVO, (2) HD300, SageTV server and SageTV server as a extender, 1 Sagetv Client on a SYX ion.
Reply With Quote
  #14  
Old 11-05-2015, 01:40 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Trying to understand what you were doing based on the logs so you may need to fill in the blanks....

Code:
Thu 11/5 13:39:25.811 [PooledThread@1ff88d2] Added:Watched[id=126855 Airing=A[113160,112208,"Arrow",0@0812.11:01,42,V], WatchStart=Wed 8/12 11:01:18.480, WatchEnd=Wed 8/12 11:43:27.000, RealStart=Wed 12/31 19:00:00.000, RealEnd=Wed 12/31 19:00:00.000]
Thu 11/5 13:39:33.684 [PooledThread@1ff88d2] Seeker.destroyFile called for: MediaFile[id=112207 A[113160,112208,"Arrow",0@0812.11:01,42,V] mask=V host=FDC-Gamer encodedBy= format=Quicktime 0:42:08 9259 kbps [#0 Video[H.264 29.97 fps 1920x1080 16:9 9063 kbps progressive]#1 Audio[AC3 48000 Hz 2 channels 192 kbps idx=1 eng]{ScrapedBy=Phoenix, IMDBID=tt3956512, MediaType=TV, ScrapedDate=1446698984218, Trivia=, MediaProviderDataID=257655, MediaTitle=Arrow, SeriesInfoID=0, TagLine=, UserRating=75, DiscNumber=0, Quotes=, MediaProviderID=tvdb, TrailerUrl=}] F:\SharedTV\Arrow\Season 3\Arrow-S03E05-The Secret Origin of Felicity Smoak.mp4, Seg0[Wed 8/12 11:01:18.480-Wed 8/12 11:43:27.000]]
Thu 11/5 13:39:33.685 [PooledThread@8e0d42] Saving properties file to C:\Program Files (x86)\SageTV\SageTV\Sage.properties
Thu 11/5 13:39:34.054 [PooledThread@8e0d42] Done writing out the data to the properties file
Thu 11/5 13:39:34.117 [PooledThread@1ff88d2] Added file to delete queue: F:\SharedTV\Arrow\Season 3\Arrow-S03E05-The Secret Origin of Felicity Smoak.mp4
Thu 11/5 13:39:34.117 [PooledThread@1ff88d2] Deleted media segment file F:\SharedTV\Arrow\Season 3\Arrow-S03E05-The Secret Origin of Felicity Smoak.mp4 dtime=433 len=2926754892
Thu 11/5 13:39:34.118 [ProgressiveDeleter@156834e] Starting async delete for:F:\SharedTV\Arrow\Season 3\Arrow-S03E05-The Secret Origin of Felicity Smoak.mp4.delete
Thu 11/5 13:39:34.183 [ProgressiveDeleter@156834e] Saving properties file to C:\Program Files (x86)\SageTV\SageTV\Sage.properties
Thu 11/5 13:39:34.248 [ProgressiveDeleter@156834e] Done writing out the data to the properties file
Thu 11/5 13:39:34.248 [ProgressiveDeleter@156834e] Completed progressive deletion of: F:\SharedTV\Arrow\Season 3\Arrow-S03E05-The Secret Origin of Felicity Smoak.mp4.delete
Thu 11/5 13:39:34.397 [PluginEventQueue@756826] [[SageTCPServer]]: Event: MediaFileRemoved
Thu 11/5 13:39:34.398 [PluginEventQueue@756826] [[SageTCPServer-Media:9250]]: Media file Del: Arrow
Based on this it looks like you set the watched flag on Arrow S03E05 and then immediately deleted the media item.

k
Reply With Quote
  #15  
Old 11-05-2015, 01:46 PM
crawfofd crawfofd is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Florida
Posts: 76
Yes I set the watch status then deleted a file, but that was when I wasnt using the service. I turned the service back on then re-did the watch status and it did not change, I thought the failure of the watch status would show up later in the log??
Does the log get generated everytime you stop and start the program or is it size based. What do I need to do to get a clean log??
__________________
SageTV Server 7.1.x Win7 64bit SP1, AMD Phenom II x6 1100T, nVidia GeForce GT 520, 16GB DDR3 Asus m5a97 EVO, (2) HD300, SageTV server and SageTV server as a extender, 1 Sagetv Client on a SYX ion.
Reply With Quote
  #16  
Old 11-05-2015, 02:06 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Cleanest is to delete the clientxxxx.txt files and the gemstone.log while SageTV is NOT running....servive off, no client etc. The start SageTV as a service and launch the client ...reproduce the issue only, and then close the client and then stop the service....gather the logs again.

BTW: might be best to include the phoenix.log as well.

k
Reply With Quote
  #17  
Old 11-05-2015, 02:11 PM
crawfofd crawfofd is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Florida
Posts: 76
okay I believe this is a clean set of logs. All I did was open sage then went to gemstone and tried to set the watch status.
Attached Files
File Type: zip one.zip (70.6 KB, 125 views)
__________________
SageTV Server 7.1.x Win7 64bit SP1, AMD Phenom II x6 1100T, nVidia GeForce GT 520, 16GB DDR3 Asus m5a97 EVO, (2) HD300, SageTV server and SageTV server as a extender, 1 Sagetv Client on a SYX ion.
Reply With Quote
  #18  
Old 11-05-2015, 02:39 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
There is nothing there that helps me narrow this down. You had not included the phoenix.log file. Was it not there?

Can you also provide a little more in how you are doing this....

- What Flow Type
- what view is the Flow set to
- what is the logging level set to in Options/Utility Functions/Log Options. Should be debug but I am getting VERY FEW log items in the gemstone log file for some reason.

k
Reply With Quote
  #19  
Old 11-05-2015, 03:01 PM
crawfofd crawfofd is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Florida
Posts: 76
Sure here is the info:

Flow Types - Cover, Inline, Dual, and Wall (All do same)
All Views are set to - Sage Video Imports by Folder
Log Options - Server/Client (On/On) - Gemstone Log Level (DEBUG)

Attached phoenix.log

Thanks again jusjoken for all your help.
Attached Files
File Type: zip phoenix.zip (9.3 KB, 133 views)
__________________
SageTV Server 7.1.x Win7 64bit SP1, AMD Phenom II x6 1100T, nVidia GeForce GT 520, 16GB DDR3 Asus m5a97 EVO, (2) HD300, SageTV server and SageTV server as a extender, 1 Sagetv Client on a SYX ion.
Reply With Quote
  #20  
Old 11-05-2015, 03:11 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Nothing in that log either and I cannot recreate the issue...running out of thoughts.

Try setting one of the Flows to a different View....for example, try using TV Shows(Seasons) and see if the watched can be set from there. I only suggest that as the view you are using is one of the most complex (and slow) views of the phoenix views. Although, I just set the watched on a flow using the folders view so this is likely a futile guess.

Also, ensure you are trying this on other media files other than this one Arrow one as perhaps it's specific to that file/folder....again, just guessing.

k
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPG HD flag, who's responsible? phelme SageTV EPG Service 5 07-29-2014 03:00 PM
Copy Flag, DRM Flag, and Cablecard reccitron Hardware Support 1 02-09-2012 05:27 PM
Copy Once Flag.. OttoNP Hardware Support 11 02-08-2012 07:42 PM
HD Flag Priority? Fuzzy SageTV Software 17 03-06-2007 11:05 PM
HD Flag rsagetv99 SageTV EPG Service 2 03-08-2006 12:16 PM


All times are GMT -6. The time now is 01:48 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.