How to open an album ?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
slinuxgeek Offline
Senior Member
Posts: 219
Joined: Feb 2012
Reputation: 0
Question  How to open an album ?
Post: #1
How can we open an album which will display all the songs of the album in a window , on click of a button?

Suppose album name is "KARUNA" then what to write in onclick :

<control type="button">
<onclick> Confused </onclick>
</control>

ActivateWindow(MusicLibrary,Albums,KARUNA) does not work , I know it is wrong way ,but there should be some way.

Pease please help , and please do not say it's not possible.

Thanks.
find quote
pecinko Offline
Donor
Posts: 3,846
Joined: Dec 2008
Reputation: 52
Location: Prague / Belgrade
Post: #2
From where? Home page? Is that karuna a variable?

My skins:

Amber
Quartz

find quote
butchabay Offline
Skilled Skinner
Posts: 3,847
Joined: Mar 2010
Reputation: 75
Location: Planet Crematoria
Post: #3
I'm not sure we understand what you're trying to do, but most functions you are trying to change are build in functions of xbmc and this is simply not possible via skinning.

So if you click on an album it opens it and shows the songlist inside. Why you should add an onclick ?
find quote
slinuxgeek Offline
Senior Member
Posts: 219
Joined: Feb 2012
Reputation: 0
Post: #4
No "karuna" is album name , I want to open that album with its contents(songs) to play any one out of them.

The button can be any where , in any .xml file(means any window).

I think it should not matter , where the button is , because ActivateWindow(parameter) searches for specific .xml file
and presents that in form of window to the user.

For example when we write ActivateWindow(MusicLibrary,Albums) it searches MyMusicNav.xml and displays all albums.
but I want to open an album , when I know it's name.

Thanks.
@butchabay , I am told to make such a skin in which currently playing song along with music control buttons is always displayed at bottom , along with the album art of currently playing album.

And user should be able to click on the album art , which will open same album with list of songs , so the user can select another song of the same album directly.

Thank You.
(This post was last modified: 2012-04-13 09:33 by slinuxgeek.)
find quote
butchabay Offline
Skilled Skinner
Posts: 3,847
Joined: Mar 2010
Reputation: 75
Location: Planet Crematoria
Post: #5
So what you mean is the now playing screen. Press "C" Contex menu and go to "Now Playing"

Try it out and tell us if it's that you intend.
find quote
pecinko Offline
Donor
Posts: 3,846
Joined: Dec 2008
Reputation: 52
Location: Prague / Belgrade
Post: #6
Not possible, xbmc does not work like that. You can not arbitrarily list DB on given attribute. You can open playlist, see butchabay's post.

My skins:

Amber
Quartz

find quote
slinuxgeek Offline
Senior Member
Posts: 219
Joined: Feb 2012
Reputation: 0
Post: #7
@butchabay No the "Now Playing" displays many songs from different albums , in playlist.

But I want to display all songs of the same album , from which the current song is playing.

Thanks.
find quote
butchabay Offline
Skilled Skinner
Posts: 3,847
Joined: Mar 2010
Reputation: 75
Location: Planet Crematoria
Post: #8
Yes, but i think that's the only way in that direction.
Btw you never told you're using playlists ... Smile
find quote
slinuxgeek Offline
Senior Member
Posts: 219
Joined: Feb 2012
Reputation: 0
Post: #9
No I switched to Confluence to see what "Now Playing" displays...
find quote
butchabay Offline
Skilled Skinner
Posts: 3,847
Joined: Mar 2010
Reputation: 75
Location: Planet Crematoria
Post: #10
(2012-04-13 10:58)slinuxgeek Wrote:  No I switched to Confluence to see what "Now Playing" displays...

Huh
find quote
pecinko Offline
Donor
Posts: 3,846
Joined: Dec 2008
Reputation: 52
Location: Prague / Belgrade
Post: #11
"Now Playing" opens MyMusicPlaylist.xml screen, which contains currently queued songs (based on playlist, queued album, etc.)

My skins:

Amber
Quartz

find quote