|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#341
|
||||
|
||||
Quote:
The Favorite status will be carried over because if any user creates a Favorite it's created globally and hidden for users that do NOT have that show as a Favorite. So if the user who defines the Favorite is removed the Favorite will still be defined in Sage. Watched status is trickier and I may not be able to do the syncing, I'll have to go look at the code to see for sure. I'll report my findings here when I look at it (which will probably be over the weekend.)
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#342
|
||||
|
||||
Quote:
cheers. |
#343
|
||||
|
||||
Quote:
I do plan on looking at this some more over the weekend. What I currently have in mind is a single function that lets you sync the Favorite and watched status with the core. Nutin fancy but I think it will be sufficient.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#344
|
||||
|
||||
I'm looking into the code right now and here is what I plan to do. Please let me know if this is not what you are looking for.
When you remove a user the confirm dialog will have "Yes", "No" and "Yes - And sync Watched and Favorites". If you choose to do the sync: - Any Favorites defined by that user will remain in the core. - Any MediaFile or Airing that is watched completely will be marked as such in the core. This implies that MediaFiles or Airings that are only partially watched will NOT be marked as watched in the core. - The Watched duration (i.e. the point into the video where you have watched) will NOT be preserved in the core. How does this sound?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#345
|
||||
|
||||
If that logic is using the 10% rule implemented in the last update to determine watched completely that should work really well and makes perfect sense.
|
#346
|
||||
|
||||
Good. This should not be too hard to do. After I test it out on my system I'll send you something to try.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#347
|
||||
|
||||
bikesquid - Something for you to try. This is a test version that will:
- remove the user from the favorite but leave the favorite in the core. - look through all of the MediaFiles and Airings and print debug information, it will NOT unassociate the user from the Airings and MediaFiles. To install: (I recommend using a SageClient, but the server will work) - Download the test zip file from here: http://code.google.com/p/tmiranda/downloads/list (The summary line says "test for bikesquid") - Stop Sage - Replace the MultiUser.jar file with the test jar. - Copy the .xml to the STVs/SageTV7 directory. - Restart Sage - Load the MUS 1.00.016.xml test file as a complete STV replacement. NOT AN IMPORT. - Log in as Admin. - Go to remove user and choose the sync option. When complete attach the logfile. (Let me know if it's too big and I'll PM you an email address.) I want to make sure it does what I expect before it actually alters the database.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#348
|
||||
|
||||
will tackle tomorrow... got a big night planned w/Dexter...
Would it be useful to testing if I: 1) create a new user 2) create a new favorite for that user 3) watch something completely with that user before doing this? I'm not sure what exactly the existing users have setup for favorites is why I ask. Don't mind doing that if it's useful, don't need to if it's not.... cheers. |
#349
|
||||
|
||||
Quote:
4) Watch something else completely 5) Delete one of the watched shows The plugin will look for previously watched and deleted Airings and steps 4 and 5 will create a test for that.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#350
|
||||
|
||||
Umm.... which log?
|
#351
|
||||
|
||||
The sage logfile, sagetv_0.txt or sagetvclient_0.txt. Set the loglevel of the plugin to Trace and make sure sage debug logging is enabled.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#352
|
||||
|
||||
Quote:
Added user tmiranda... (why not....) then watched an idiot abroad - S02E04, let it run to end.... existed installed logged in as tmiranda again, watched An idiot abroad - S02E05 deleted an idiot abroad - S02E04 added a favorite... switched to Admin deleted user tmiranda, answering yes to sync... PM me an email address for the logs... files too big... Last edited by bikesquid; 10-29-2011 at 05:40 PM. Reason: I'm stupid.... |
#353
|
||||
|
||||
So based on the PM'd jar, all extra users have now been removed... I'd say you can consider that one tested successfully! Thx!
Is it now as simple as uninstalling the plug-in or do I have to do some db-hocus-pokus first to remove everything cleanly? Ideally I'd rather not have danglers floating around.... |
#354
|
||||
|
||||
Quote:
|
#355
|
||||
|
||||
Bummer, sorry Do you happen to have the logfile?
Strange that the Favorites were removed because I did not change that code between the "test" version I sent and the last .JAR file I sent.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#356
|
||||
|
||||
Nope, turned logging off...
It's wierd, it removed all favorites, not just from the last user.... if that's clear... disable the plug-in, go into manage favorites and it's blank. Anyway, now that the damage is done, what do I do to remove the plug-in completely? |
#357
|
||||
|
||||
Quote:
I was always proud of this plugin as it was quite complicated to do. I'm sorry to see people stop using it but I suppose that's just a sign of the times.... Google TV has some rudimentary user account settings so hopefully they will expand up it in whatever comes next. Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#358
|
||||
|
||||
A couple questions, I see in Sage that there is a user feature. Is this plugin depreciated or does it work with that system?
If its not depreciated, does this plugin work with Sage still? Is it compatible with gemstone? If it is depreciated, does the default user system of Sage maintain a set of watched flags for imported media for each user? If not, can I still use this plugin to do that? Thanks! |
#359
|
||||
|
||||
Quote:
It does still work with Sage, but I've never tested it with Gemstone and I doubt it will work. I don't know how Sage tracks data per user but I'm sure it's not compatible with how this plugin keeps track of things. It sounds to me like you want to setup Gemstone to support multiple users. If that is the case the Gemstone devs will have to add that into their STV. Much of the code I've written can be reused or adapted for that purpose.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#360
|
|||
|
|||
ADM is now built into Gemstone and does enhance the user functionality depending on what you are looking for,
http://code.google.com/p/sagetv-adm/...ontrol/Options Look in the Gemstone Menu Manager. Sorry for the hijack Tom. J |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TV Explorer for the Default STV - Testers Needed | tmiranda | SageTV Customizations | 60 | 09-18-2009 10:52 AM |
Restricted Access STVi - Testers Needed | tmiranda | SageTV Customizations | 10 | 08-25-2009 05:01 PM |
Plugin: SJQ v1.1.0RC1 Available - Testers Needed | Slugger | SageTV Customizations | 35 | 04-21-2008 08:12 AM |
Beta Testers needed for SageTV for Mac OS X!! | Narflex | SageTV Beta Test Software | 39 | 04-11-2007 03:47 PM |