track nowplaying focus in the db playlist

Help each other out

Re: track nowplaying focus in the db playlist

Postby S Pittaway on Wed Apr 02, 2008 3:49 pm

I had a old copy of freelobby lying arround on my disk, so i tried it...

it works on the 28 feb 07 and 4 March 07 builds.

can anyone else help?
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: track nowplaying focus in the db playlist

Postby alamata on Wed Apr 02, 2008 9:24 pm

...

i have reinstalled a proper version of xlobby
28 february 07 build

...

in the event manager
the "save to variable" is ok , i have tested with test button
but for the "command "
i obtain always the same error message... :shock: :arrow: :?:

what can i do more...

...is it possible you give me your tested xlobby folder with 28 february 07 build...

like that i could compare on my computer if it work...

i dont ubderstand why i doesnt work :!: :!:

rem : xdatabase needs "external" files of xlobby ?...

thanks for the attention you give to this thread...
alamata
 
Posts: 70
Joined: Thu Jan 11, 2007 12:03 pm

Re: track nowplaying focus in the db playlist

Postby S Pittaway on Thu Apr 03, 2008 8:30 am

if you post an email address i will send you a very lite xlobby install that works on my pc's? its just a copy of xdatabase and 1 screen. ~ 900k
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: track nowplaying focus in the db playlist

Postby alamata on Thu Apr 03, 2008 4:35 pm

here is the email address...

...alamata.sod@....

i would like to say thanks a lot for your kindness...
Last edited by alamata on Sat Apr 05, 2008 1:14 am, edited 1 time in total.
alamata
 
Posts: 70
Joined: Thu Jan 11, 2007 12:03 pm

Re: track nowplaying focus in the db playlist

Postby S Pittaway on Fri Apr 04, 2008 9:09 am

if the email does not work i am all out of ideas :)
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: track nowplaying focus in the db playlist

Postby alamata on Sat Apr 05, 2008 1:47 am

S Pittaway wrote:if the email does not work i am all out of ideas :)


:arrow: :) :arrow: :D :wink:

Well , ...

...everything is alright now...

.... it is almost perfect...

...almost...

:arrow:

because i need the possibility
to run the event "find playing song"
with the plugin xmusic

"current.track.on track change command:xlobby command"

... in the event manager
there is no possibility to add
the "current.track.on track change " <parameter>

why can i do for adding
a event "find playing song"
at each track change?

i have modified a .xml event file but no result...
it s surely me but...

:roll:
alamata
 
Posts: 70
Joined: Thu Jan 11, 2007 12:03 pm

Re: track nowplaying focus in the db playlist

Postby S Pittaway on Sat Apr 05, 2008 9:39 am

if you simply want it to show the current track on a track change have you played with snaptrack ?


anyway have you got the latest version of xmusic?

tell me what you are trying to do and i will help
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: track nowplaying focus in the db playlist

Postby alamata on Sat Apr 05, 2008 12:54 pm

S Pittaway wrote:if you simply want it to show the current track on a track change have you played with snaptrack ?


i'm dicovering it now......

S Pittaway wrote:anyway have you got the latest version of xmusic?


i just downloading yesterday at 4 am... from the first post of the xmusix thread
from http://xlobby.com/forum/viewtopic.php?f=14&t=5438&st=0&sk=t&sd=a&hilit=xmusic

S Pittaway wrote:tell me what you are trying to do and i will help


i m working on a "nowplaying screen"

on this screen there are

cover, genre, artist, albumname, trackname, year for the "now" and "next" track playing (current playlist)

the current playlist (in 9 lines display)

and i would like

to show a custom search to have
all the album
of the artist of the current now playing track

it s why i have post this thread and that thread
http://xlobby.com/forum/viewtopic.php?f=6&t=6276

so now
i would like if i stay on this "nowplaying screen"
at each track change
to have on display

the real current now playing track
and a custom search with
all the albums of the artist
of the track now playing...

here it is...

so how can i do to make this freatures possible...?
alamata
 
Posts: 70
Joined: Thu Jan 11, 2007 12:03 pm

Re: track nowplaying focus in the db playlist

Postby S Pittaway on Mon Apr 07, 2008 9:59 am

OK, i had a play with this at the weekend. And this was what i got -
0.jpg


when the next track plays it changes to automatically to
1.jpg



If you do this via a custom search and are browsing the albums when the track changes it will only show the albums for the current artist (it will also skip the any "various artist" cds that they are in.

Instead, i did a filter on artist name, then found the current artist and displayed there albums in a child category. This leaves the "album view" alone.


I set xMusic to do the following on a track change -

1) do a filter on music/artist and point the results at a hidden a category called "music.now.playing.artist.filer", this has a details cat called "music.now.playing.albums"

2) "hide music.now.playing.albums" this stops you seeing it change when its changing track

3) "find" the current artist in "music.now.playing.albums"

4) show "music.now.playing.albums"

5) you now have a nice list of all of the albums for this arist.


Instead of hiding the category it is possible to disable screen refreshing while you find the current artist. Let me know if you want to do that...

Also, I found the default track check to be to slow for this so in the ini file try decreasing "Check For Track Changes every (ms)" to 100.



Here is a test screen -
alamata.zip
(1.4 KiB) Downloaded 244 times

I made a change to xMusic to make it easier to find the now/next tracks - http://www.xlobby.com/forum/viewtopic.php?f=14&t=5438.

In the ini file for xMusic add (or udpate ) the following block

[On Track Change]
1 = command¦xlobby¦button hide¦id.music.now.playing.albums
2 = command¦xlobby¦set filter¦music¦artist¦music.now.playing.artist.filer
2 = this¦find.audio.player.now¦playlist¦parameter¦parameter
3 = this¦find.audio.player.now¦music.now.playing.artist.filer¦display¦artist
4 = command¦xlobby¦button show¦id.music.now.playing.albums

If you want to do a custom search just change this block to do that instead.

Also, you don't really need to do a filter every time the track changes you can do it once on start-up than re-run it if you do a refresh.

To keep the current track "in focus" use snaptrack with a very short time-out (have a search on it). If you want to you can do another find in [On Track Change], but you will really need to disable screen updates to get it to work reliably.






Sean.
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: track nowplaying focus in the db playlist

Postby alamata on Tue Apr 08, 2008 4:23 am

WOW :arrow: :shock: :arrow: :P :arrow: :D

what can i say after such work....
except thanks

I will try it as soon as I can

S Pittaway wrote:OK, i had a play with this at the weekend. ...


What this has to be when you work :wink:

...
alamata
 
Posts: 70
Joined: Thu Jan 11, 2007 12:03 pm

Re: track nowplaying focus in the db playlist

Postby alamata on Wed Apr 09, 2008 5:34 am

it s PREFECT.... :D :D :D

im afraid to abuse again but... :oops:

the possibility that can offer snaptracks
is not really wath i m trying to do ...( i believe...)

ever on the "nowplaying screen"

i would like to have the possibility
to "navigate" in the current playlist
to display more the albums of the artist
that i have selected during the "browsing in the current playlist" :shock:
that ll hidden the result of the filter
who show the albums of the artist of current playing track in the current playlist
at this moment ( during the browsing into the playlst)it must have the possibility to enable or disable temporarly the event "find playing song"
who i would like it is implemented into the xmusic.ini at each change tracks
to replace the snaptrack...

i dont know if i ll be understood because my english in poor...

thans for your comprehension...
alamata
 
Posts: 70
Joined: Thu Jan 11, 2007 12:03 pm

Re: track nowplaying focus in the db playlist

Postby S Pittaway on Wed Apr 09, 2008 7:33 am

There was a error in the block i posted, try

Code: Select all
[On Track Change]
1 = command¦xlobby¦button hide¦id.music.now.playing.albums
2 = command¦xlobby¦set filter¦music¦artist¦music.now.playing.artist.filer
3 = this¦find.audio.player.now¦playlist¦parameter¦parameter
4 = this¦find.audio.player.now¦music.now.playing.artist.filer¦display¦artist
5 = command¦xlobby¦button show¦id.music.now.playing.albums


it should jump to the current track in the playlist... Is that what you want to do?
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: track nowplaying focus in the db playlist

Postby alamata on Wed Apr 09, 2008 7:54 am

yes it s ok ...

it jump to the current song playing in the playlist...
when i arrive into the screen
and follow the current track playing in the playlist...

ever on the nowplaying screen...

i would like to have the possibility
to browse into the current playlist
and for each track i select
i would like to see all the albums of the artist of this track (the selected track not the playing track)
but i must have too the possibility to enable and disable the event "find playing song"
during this browsing...
alamata
 
Posts: 70
Joined: Thu Jan 11, 2007 12:03 pm

Re: track nowplaying focus in the db playlist

Postby S Pittaway on Wed Apr 09, 2008 9:17 am

Ok.

I have added two plugin events -
"xmusic.plugin.on.track.change.event.enable"
"xmusic.plugin.on.play.state.change.event.enable"
You can use these to turn the OnXxxEvents on and off. The important one for you is "plugin:xmusic:xmusic.plugin.on.play.state.change.event.enable:true/false"

Assume that you can turn the vevent off and get your skin doing what you want.

I think you have enough examples to do everything you want.

I will update the new version when i have the play status problem sorted.


Sean.
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: track nowplaying focus in the db playlist

Postby alamata on Wed Apr 09, 2008 9:24 am

thanks a lot for all what you have done for this situation... :D
alamata
 
Posts: 70
Joined: Thu Jan 11, 2007 12:03 pm

Previous