[Closed] TvTunes Addon

  Thread Rating:
  • 5 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #16
i can't refer to current playing volume because i can't get this information from xbmc, so all i can do is put a setting to set the volume at XX percent when playing theme.

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #17
xbmc.getInfoLabel('player.volume') will sorta work - you'll get it in the format
Code:
case PLAYER_VOLUME:
    strLabel.Format("%2.1f dB",...);
    break;
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #18
spiff Wrote:xbmc.getInfoLabel('player.volume') will sorta work - you'll get it in the format
Code:
case PLAYER_VOLUME:
    strLabel.Format("%2.1f dB",...);
    break;

hum!

thanks Spiff ! i'll see that!
whis this i should be able to lower volume when script start then raise it at closing ! Cool

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
Sharpe Offline
Skilled Skinner
Posts: 1,029
Joined: Jul 2006
Reputation: 13
Location: North West England
Post: #19
This is really cool - some sort of fade in / fade out would probably be awesome.
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #20
well, still some bug and change, first is visible conditon, i've edited the condition, it's already working with current version Wink

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #21
Quote:v0.5.2:
- fixed problem for flatten tvshow option
- change the visible condition to : !"Window(10025).Property(TvTunesIsAlive)" it's "true" when script is running

first post edited, new include.xml for confluence.

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #22
Sharpe Wrote:This is really cool - some sort of fade in / fade out would probably be awesome.

i will decrease volume for theme Wink

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #23
Quote:v0.5.3:
- added sound setting decrease from 0 to 60 in setting, automatically raising when script exit.
- moved running control into default.py

new version

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
ZombieRobot Offline
Fan
Posts: 712
Joined: May 2010
Reputation: 4
Location: Mount Maunganui , New Zealand
Post: #24
great work ppic will add this to showmix loving all the work you are doing dude keep it up
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #25
thanks!

well ... i need some help from skinners, i'm really worried with this visible condition

Window(10025).Property(TvTunesIsAlive) without the ! seems to be good by me by i really don't know what it means, if you know, please help me, all i can say is that property only exist and is set to true when the backend script is running.

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
Sharpe Offline
Skilled Skinner
Posts: 1,029
Joined: Jul 2006
Reputation: 13
Location: North West England
Post: #26
using !"Window(10025).Property(TvTunesIsAlive)" seems to be working fine at suppressing the music info widgets I have popping up.

This really is a very cool feature

#Edit - ah yes I see what the problem is now - it's suppressing everything.
(This post was last modified: 2010-10-26 01:15 by Sharpe.)
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #27
<visible>SubString(Window(10025).Property(TvTunesIsAlive),True)</visible>
seems to be more dharma compatible, "" only works with windows as i see

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
Sharpe Offline
Skilled Skinner
Posts: 1,029
Joined: Jul 2006
Reputation: 13
Location: North West England
Post: #28
<visible>!SubString(Window(10025).Property(TvTunesI sAlive),True)</visible>

Seems to be working well - that will suppress the music info stuff fine.
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #29
ok! actually it shutdowns all music when in video library, not only tvshow, i'll add something to by pass that.

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
Flomaster Offline
Posting Freak
Posts: 1,287
Joined: Jun 2010
Reputation: 6
Location: East Texas
Post: #30
I still find the volume a bit loud what setting or xml do i need to edit. perhaps i would like a 40% volume level.

-=Jason=-
find
Thread Closed