pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New: Limit shares which appear on certain TiVos.

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo
 View previous topic :: View next topic  
Author Message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 448
Location: Los Angeles, CA

PostPosted: Sat Feb 09, 2008 9:54 pm    Post subject: New: Limit shares which appear on certain TiVos. Reply with quote

I added a new feature to my branch today. I figure those who are working with kidzone may also find it beneficial.

Adapted from ticket #32:

There is now a share option available under any [_tivo_...] section. This option takes a comma separated list of available shares. Only the shares listed will appear on that specific tivo. Incorrect shares are ignored.

For example, the following conf file would be used to prevent share Adult from being seen on the TiVo with a tsn=12345, only Movies and Photos would be seen on this TiVo. Adult would still be visible on ALL other TiVos in the network.

[_tivo_12345]
shares = Movies, Photos

[Adult]
type = video
path = /store/Adult

[Movies]
type = video
path = /store/Movies

[Photos]
type = photo
path = /store/Photos

[Server]
debug = true
ffmpeg = /usr/bin/ffmpeg
hack83 = true
port = 9032
Back to top
View user's profile Send private message Visit poster's website
rjmitche



Joined: 05 Jan 2008
Posts: 41

PostPosted: Sat Feb 09, 2008 11:09 pm    Post subject: Reply with quote

Excellent. Thanks.

I've been thinking about asking about this exact feature. No need for all of the shares to appear on the TiVo dedicated to the kids.

I've been sort of following wmcbrine's fork (for the subfolders stuff)... any chance of this feature being merged with the latest over there?
Back to top
View user's profile Send private message
reneg



Joined: 04 Jan 2008
Posts: 133

PostPosted: Sun Feb 10, 2008 3:44 am    Post subject: Reply with quote

Thanks for folding this feature into a current release. I don't know if and when I would have gotten around to it. Just a note, YMMV if you are using the auto_subshares option and this option.
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 1333

PostPosted: Sun Feb 10, 2008 5:45 am    Post subject: Reply with quote

rjmitche wrote:
I've been sort of following wmcbrine's fork (for the subfolders stuff)... any chance of this feature being merged with the latest over there?

It's done.

_________________
My pyTivo fork
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 448
Location: Los Angeles, CA

PostPosted: Sun Feb 10, 2008 11:46 pm    Post subject: Reply with quote

reneg wrote:
Just a note, YMMV if you are using the auto_subshares option and this option.


Yeah I thought about that, but I thought it should still work properly and block all subfolders of the parent share.

Can someone test this who uses auto_subshares and let me know what happens?
Back to top
View user's profile Send private message Visit poster's website
tlc



Joined: 06 Jan 2008
Posts: 18

PostPosted: Wed Feb 13, 2008 6:08 pm    Post subject: Reply with quote

This feature appears to force shares to have different names. I can't remember if that's true without this feature.

I know I tried once to have a video share [ServerName] and a photo share [ServerName] which would have looked fine on my TiVos since they're seen in specific menu screens. I don't remember if it worked though.

tlc
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 448
Location: Los Angeles, CA

PostPosted: Wed Feb 13, 2008 6:49 pm    Post subject: Reply with quote

tlc wrote:
I know I tried once to have a video share [ServerName] and a photo share [ServerName] which would have looked fine on my TiVos since they're seen in specific menu screens. I don't remember if it worked though.


Umm I don't think this would be a good idea. I can't say off hand for sure that using the same name would have worked before. I doubt it would have. But using this feature it will certianly block both shares. But either way I don't think using the same name for 2 different shares is an advisable idea.
Back to top
View user's profile Send private message Visit poster's website
philhu



Joined: 04 Jan 2008
Posts: 279

PostPosted: Wed Feb 13, 2008 7:06 pm    Post subject: Reply with quote

No, that did not work.

I had a music and video share that even started with the same names,like:

MySvr
MySvr-Music

It got mad!
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 1333

PostPosted: Wed Feb 13, 2008 7:29 pm    Post subject: Reply with quote

philhu wrote:
I had a music and video share that even started with the same names,like:

MySvr
MySvr-Music

It got mad!

That should work OK now, since my patch to use exact matches instead of "startswith". However, identical share names would never have worked with any version. The share name is the only way pyTivo knows what you're asking for.

Although, in principle, it could go by the "Filter" parameter... but, it doesn't.

_________________
My pyTivo fork
Back to top
View user's profile Send private message
rjmitche



Joined: 05 Jan 2008
Posts: 41

PostPosted: Sun Mar 30, 2008 9:10 pm    Post subject: Reply with quote

Is there a way to use this to prevent ANY shares from showing up on a given TiVo? I've got pyTivo running on two pcs, I've also got two TiVos on two separate TVs. On the main TiVo/TV, I want all the shares from both instances of pyTivo to appear but, on the kids' TiVo/TV, I'd like them to only see one share from one of the instances of pyTivo. In order to accomplish this, I'd like to be able to specify something like shares = NONE under that [_tivo_tsn] section. I tried setting shares= to something that doesn't exist but, that didn't seem to work.
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 448
Location: Los Angeles, CA

PostPosted: Sun Mar 30, 2008 10:03 pm    Post subject: Reply with quote

Yeah I designed it to actually prevent all shares disappearing simply because there was a bad share name. You can add a blank share or just the admin share and it would do what you wanted.

For example:
Code:
[_tivo_tsn]
shares = Admin


Or:
Code:
[_tivo_tsn]
shares = Nothing

[Nothing]
type = music
Back to top
View user's profile Send private message Visit poster's website
rjmitche



Joined: 05 Jan 2008
Posts: 41

PostPosted: Mon Mar 31, 2008 12:15 am    Post subject: Reply with quote

shares = Admin did the trick. Thanks!
Back to top
View user's profile Send private message
ebf



Joined: 22 Mar 2008
Posts: 133

PostPosted: Mon Mar 31, 2008 2:09 am    Post subject: Reply with quote

rjmitche wrote:
Is there a way to use this to prevent ANY shares from showing up on a given TiVo? ...


I did this via my Windows firewall... I limited the pyTiVo port to a single IP address-- the one TiVo I want to have access. This config method is probably easier.
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 448
Location: Los Angeles, CA

PostPosted: Mon Mar 31, 2008 2:43 am    Post subject: Reply with quote

you can also do it through beacon I imagine too.
Back to top
View user's profile Send private message Visit poster's website
ebf



Joined: 22 Mar 2008
Posts: 133

PostPosted: Mon Mar 31, 2008 2:45 am    Post subject: Reply with quote

krkeegan wrote:
you can also do it through beacon I imagine too.

I'm not sure what that means...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO

Get pytivo at SourceForge.net. Fast, secure and Free Open Source software downloads
[ Time: 0.0900s ][ Queries: 12 (0.0131s) ][ Debug on ]