Posts: 357
Joined: Nov 2004
Reputation:
0
Hi WeirdH,
The edits I made to copy/paste example from the WIKI Online Manual didn't apply.
The post was supposed to have read as follows:
<smartplaylist>
<name>Music From The 1980's</name>
<match>all</match>
<rule field="year" operator="greaterthan">1979</rule>
<rule field="year" operator="lessthan">1990</rule>
</smartplaylist>
I had intentionally removed the Genre rule.
Cheers,
KZ
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Working fine here. The only things selected are those between 1979 and 1990 (exclusive).
What happens if you just click on the playlist (ie don't queue it, just enter the smartplaylist's folder)?
You can add the year tag it's using using %Y in the track format.
Cheers,
Jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
187
An alternative to test the query, is to grab sqlitespy, load up the MyMusic6.db file off your xbox and do the following query:
select * from songview where iYear > 1979 and iYear < 1990
Cheers,
Jonathan
Posts: 357
Joined: Nov 2004
Reputation:
0
Hi Jonathan,
Will try:
- Add %Y and do Queue Item again
- Select Smart Playlist as opposed to Queue Item
- Perform the SQL query via 'sqlitespy'
Cheers,
KZ
Posts: 357
Joined: Nov 2004
Reputation:
0
Hi Jonathan,
I added the year to the template and tried both 'Queue Item' and select the smart playlist; in both cases the songs that are displayed are in the correct year range.
I enabled Shuffle (Not Randomize) and the songs displayed are in the correct year range.
I let it play for approximately 2.5 hours and noticed that songs from outside the range started appearing as part of the list ... the memory usage changes by about 1MB-2MB occasionally (using an LCD CP ) which to me, doesn't seem like a big deal.
Cheers,
KZ
Posts: 357
Joined: Nov 2004
Reputation:
0
2006-09-18, 03:53
(This post was last modified: 2006-09-18, 03:57 by kzr1y2.)
Hi kraqh3d,
I posted this in the Support Help section because I initially figured that I may have read the WIKI manual example incorrectly.
It's exactly as I described though, seems after an extended period of time, entries outside the range start playing. I'm not using Party Mode, I am using the Queue Item context menu option; the Smart Playlist are as follows:
<smartplaylist>
<name>Rock Music from the 1990s</name>
<match>all</match>
<rule field="year" operator="greaterthan">1989</rule>
<rule field="year" operator="lessthan">2000</rule>
</smartplaylist>
I created similar Smart Playlist for 50's, 60's, 70's, 80's, 90's, 2000's. The only commonality is Smart Playlist of 3700 files or more seem to exhibit this problem after extended play periods. Is there extend logging that I can enable that would provide additional assistance?
Best,
KZ
PS: It's a good thing my "significant other" is not a software tester ... we'd be in big trouble ;-)
Posts: 26,215
Joined: Oct 2003
Reputation:
187
As kraqh3d says, the list is static - it does not change. So any files played will only be those that are initially queued - ie will only be those that you have listed in the now playing window.
I suggest you:
1. Setup the track format for the nowplaying window by setting:
<musicfiles>
<nowplayingtrackformat>%Y - %A - %T</nowplayingtrackformat>
</musicfiles>
in AdvancedSettings.xml. This will allow you to see the year while in the Now playing window.
2. Run with debug logging (hold down X+Y on boot).
3. Do as usual - queue up your smartplaylist.
4. Jump to playlist view (black) and scan down the list - it should only contain the years you have queued.
5. Leave it playing, and note down any track that you feel falls outside the range - you can easily check with the now playing window that it is in fact in the correct year range.
6. If it plays a track that is clearly outside the valid range, then upload your debug log for us to examine, and link to it from here (pastebin.ca is convenient for this).
Cheers,
Jonathan
Posts: 357
Joined: Nov 2004
Reputation:
0
Hi Jonathan,
I'll will go through these suggestions this weekend.
BTW - my xbox is equipped with an X3CP ... that's how I noticed that audio files outside the year range (>1989, <2000) were playing as I configured the LCD.XML to display track, artist, album, title, year.
I can't confirm for sure yet, but it almost seems like the audio files that end up playing are those off albums that I listen to quite often.
Cheers,
KZ
Posts: 357
Joined: Nov 2004
Reputation:
0
Hi Jonathan,
Quick update: Haven't had an opportunity to look at this yet; been busy adding thumbnails to folders - Will retest with latest XBMC CVS.
Cheers,
KZ