SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-07-2011, 07:04 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Testers Needed: MultiUser Support

I've been fiddling around with a new Plugin that supports multiple user views. It's in the early stages but I'd like some brave individuals to help me test things out. The code is not really beta quality yet, but it's not terrible either.

Each user can define their own favorites and will only see those recordings that "belong" to them (because they are a favorite or a manual they requested). The playback position for each user is remembered. Recordings are only physically deleted when all users that have access to the recording delete it.

I'd post a screenshot, but there's really not much to see since it looks exactly like the default STV except for a new "Users" menu under Setup that allows you to define, administer and switch users.

If you are interested in testing please respond here. You will be on the bleeding edge so expect things to not work.

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.
Reply With Quote
  #2  
Old 02-07-2011, 07:25 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Another feature I wish sage had natively...none the less good job taking the initiative on this one I would test it for you.
Reply With Quote
  #3  
Old 02-07-2011, 07:45 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Quote:
Originally Posted by PLUCKYHD View Post
Another feature I wish sage had natively..
Yes, I hope this becomes obsolete because Sage puts it in the core. But I need to do something now because my kids are getting older and I'm tired or having to sort through all of their stuff to find what I am interested in. And, as an added bonus, I don't have to see the many "Design" shows and soap operas my wife has recorded.
__________________

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.
Reply With Quote
  #4  
Old 02-07-2011, 07:51 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by tmiranda View Post
Yes, I hope this becomes obsolete because Sage puts it in the core. But I need to do something now because my kids are getting older and I'm tired or having to sort through all of their stuff to find what I am interested in. And, as an added bonus, I don't have to see the many "Design" shows and soap operas my wife has recorded.
Hear hear looks foward to trying it.
Reply With Quote
  #5  
Old 02-07-2011, 09:39 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,719
I would love to test this.
Reply With Quote
  #6  
Old 02-07-2011, 11:46 PM
mayamaniac's Avatar
mayamaniac mayamaniac is offline
Sage Icon
 
Join Date: May 2004
Posts: 2,177
Sign me up too.

It seems that TeamOrtus is also doing multi-user from the look of their preview video, it shows a menu to change user. I'm not sure how customizable it is but it looks kinda cool.
__________________
Mayamaniac

- SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme.
- SageTV HD300 - HDMI 1080p Samsung 75" LED.
Reply With Quote
  #7  
Old 02-08-2011, 01:19 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
OK. I'll package it up and post it. I saw that Ortus was doing something similar but I do not know much about the details yet.
__________________

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.
Reply With Quote
  #8  
Old 02-08-2011, 02:16 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
To install on an Extender or Placeshifter:
- Download and unzip the attached manifest to the install directory on your Sage server.
- Install the Multi-User UI Mod Plugin.

To install on a SageClient:
- Download and unzip the attached manifest to the install directory on your Sage server (NOT the SageClient's install directory.)
- Install the Multi-User General Plugin (or Multi-User UI Mod Plugin) on your Sage server.
- Install the Multi-User UI Mod Plugin on your SageClient.


To configure:
- Go to Setup -> Users.
- Select "Log In" and log in as Admin. (The default password is Admin).
- Select "Configuration" and set the loglevel to Trace. (I'll need that for debugging purposes.) Set "Stay Logged In After Reboot" and "Require User Passwords" to you liking.
- Select "Add User". Enter a user name and password and then select "Commit". User names and passwords are case sensitive.

Expected Behavior:

- If you are logged in as Admin, or if you are not logged in as anybody, Sage will behave as if this plugin is not installed at all.
- You must be logged in as Admin to make any changes to the Plugin configuration or to add and remove users.
- When a user is first created they inherit all recorded shows, imported media and favorites.
- Each user can delete shows and videos independently of other users. Once the last user deletes a show or video, it is physically deleted from the SageTV database.
- Each users' viewing point within a recording or video is maintained independently of other users'.
- Each user can delete and add favorites independently of other users. Once the last user deletes the favorite, it is physically deleted from SageTV.
- As new shows are recorded only users that have that show marked as a favorite or a manual recording will see the recording.
- Conflicts are handled on a global basis so it is possible for one user to override a recording scheduled by another user.
- Intelligent Recording is handled on a per user basis.
- Shows recorded as a result of "Intelligent Recording" being enabled are visible to all users that have Intelligent Recording enabled.

Notes and Know Issues:

- The user interface will be slow right after a user is added. This is because the first time a Sage object is accessed it must be initialized. This is a one-time process so subsequent access will be fast.

- The green portion of the timebar in the OSD does not progress.

- After selecting "Switch User" the wrong user name is displayed on the menu.

- I have only done limited testing with ComskipPlayback enabled so I suspect it will not work correctly. The CommercialDetector UI mod uses ComskipPlayback so that will not work either, but the General plugin should work fine.

To Do's:

- Implement a "give recording to" function.

- Put in a check to make sure General plugin is installed if running on a SageClient.

- Ensure compatibility with ComskipPlayback and CommercialDetector UI mod.

Please post issues here and then enter them here: http://code.google.com/p/tmiranda/issues/list

When you find an issue please ZIP and attach your sage logfile.
Attached Files
File Type: zip SageTVPluginsDev.zip (823 Bytes, 134 views)
__________________

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.

Last edited by tmiranda; 02-08-2011 at 06:00 PM. Reason: IR clarification.
Reply With Quote
  #9  
Old 02-08-2011, 03:12 PM
sleonard's Avatar
sleonard sleonard is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 1,506
Can more than one person log into an extender at a time? For when the whole family is watching the same thing at one location.

S
Reply With Quote
  #10  
Old 02-08-2011, 03:25 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Quote:
Originally Posted by sleonard View Post
Can more than one person log into an extender at a time? For when the whole family is watching the same thing at one location.

S
No. I thought about providing this ability but for now I'm keeping it simple. If yo want to remind me add it as a feature request on the google "issues" page linked above.
__________________

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.
Reply With Quote
  #11  
Old 02-08-2011, 05:54 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Arg, just found a bug that causes all new recordings to appear for all users. It's what I get for making "one small change" before posting the manifest.

Edit - I fixed the bug last night. I'll post an updated manifest but it may not be until tomorrow because a client just called and wants to meet today at 6:30 PM. Darn clients getting in the way of my Sage habit
__________________

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.

Last edited by tmiranda; 02-09-2011 at 07:13 AM.
Reply With Quote
  #12  
Old 02-09-2011, 07:19 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Version 0.02

Update: Fixes the bug that caused all new recordings to show up for all users. Also fixes a bug that prevented changing a user password.
Attached Files
File Type: zip SageTVPluginsDev.zip (905 Bytes, 126 views)
__________________

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.
Reply With Quote
  #13  
Old 02-09-2011, 08:21 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,719
I seem to be having a problem installing this. Is the site with the download having a problem?

Edit:

OK, now I can get to the download site, but I only see beta 1 files.

Last edited by toricred; 02-09-2011 at 09:10 PM.
Reply With Quote
  #14  
Old 02-10-2011, 06:35 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Quote:
Originally Posted by toricred View Post
I seem to be having a problem installing this. Is the site with the download having a problem?

Edit:

OK, now I can get to the download site, but I only see beta 1 files.
Strange. They were there last night I'll see what went wrong later today. I think something strange happened to Google code last night because I tried to install another Plugin (from the repository) and it failed. I thought my internet connection went down....
__________________

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.
Reply With Quote
  #15  
Old 02-10-2011, 01:27 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by tmiranda View Post
Strange. They were there last night I'll see what went wrong later today. I think something strange happened to Google code last night because I tried to install another Plugin (from the repository) and it failed. I thought my internet connection went down....
Have at look at your inbox. I think your beta 2 files were accidentally uploaded to my project in Google Code instead of yours. See that email for more details.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #16  
Old 02-10-2011, 03:23 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Quote:
Originally Posted by Slugger View Post
Have at look at your inbox. I think your beta 2 files were accidentally uploaded to my project in Google Code instead of yours. See that email for more details.
Ooops....

I just uploaded them to my site.
__________________

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.
Reply With Quote
  #17  
Old 02-10-2011, 06:49 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,719
OK, now I have it installed. When logged in as Admin I show all the options for adding users etc, but when I select Configure it says I'm not the Admin. Any help?
Reply With Quote
  #18  
Old 02-10-2011, 07:16 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Are you using an extender, placeshifter or SageClient?
__________________

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.
Reply With Quote
  #19  
Old 02-10-2011, 07:18 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
And what is the value of these properties?

Code:
mus/LoginLastUser
mus/LastLoggedinUser
__________________

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.
Reply With Quote
  #20  
Old 02-10-2011, 07:27 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,719
I was doing it on the server. I am running in service mode. I got it to work on an extender si it might be related to sageclient.properties vs. sage.properties.

Next problem is that I can't get anything to play with this plugin enabled and using TVE.
Reply With Quote
Reply


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

Advanced Search
Display Modes

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
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


All times are GMT -6. The time now is 04:15 AM.


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