Discussion:
More information in server playlists?
gr0tus
2002-01-31 09:15:01 UTC
Permalink
I checked in the change to prettyTitle allowing for greater
configurability, the current set of keywords are
TITLE, ARTIST, TRACKNUM, YEAR, ALBUM, COMMENT, GENRE, FILE

These are taken from the mp3tag information. However GENRE just
returns the code, not the description. FILE isn't really in the
mp3tag info, it returns the same info as what the plainTitle does.

I modified Misc::standardTitle to send the client specific format
string when it gets the prettyTitle so this will show up in the Music
Library and the Playlist on the Slim, I did not modify the HTTP
module, so the browser will continue to show things as before.

For brand new clients the default value of '%TRACKNUM. %TITLE' will
be inserted into their prettyFormat preference value, for existing
clients add the following line (correcting for your ip address:port
and desired formatting):

192.168.1.69:69-prettyFormat = %TRACKNUM. %ARTIST - %TITLE




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sponsored by VeriSign - The Value of Trust
Pinpoint the right security solution for your company - FREE
Guide from industry leader VeriSign gives you all the facts.
http://us.click.yahoo.com/pCuuSA/WdiDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
John Ruttenberg
2002-01-31 01:54:08 UTC
Permalink
I'm not married to the % as the marker that a keyword is coming next,
I chose it mainly because that is what EAC and LAME use. The
TITLE, ARTIST, TRACKNUM, YEAR, ALBUM, COMMENT, GENRE
I think this will be fine for now.
<b>1. Drive My Car</b> from <i>Rubber Soul</i> by The Beatles
Which worked out quite nicely and was quite compact.
OK for popular music, not so great for classical and jazz where the artist
list can be long and the titles can be very long.

It isn't really so hard to do the hierarchical listing:

artist = 0
album = 0

for each track
if track.artist != artist
// We have a new artist -- outdent and print it.
artist = track.artist
// assume we also have a new album
album = 0
if track.album != album
// Outdent and print
alubm = track.album
If we want to get fancy, though, we could try for some kind of
The Beatles
Rubber Soul
1. Drive My Car
....
Help
1. Help
Wolfgang Amadeus Mozart / Alfred Brendel
The Piano Concertos - Disc 1
...
I don't think this would be so hard to do. It does make parsing
the
result of the status command harder, though. Ideally, there
should ba
a variant ot the status command for human readability and one for
remote applications to use, possibly with results in xml.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sponsored by VeriSign - The Value of Trust
Pinpoint the right security solution for your company - FREE
Guide from industry leader VeriSign gives you all the facts.
http://us.click.yahoo.com/pCuuSA/WdiDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Scott McIntyre
2002-01-31 01:47:23 UTC
Permalink
Great idea!

Something to watch out for tho: currently, we don't display the tracknumber
or the period if it's zero.

Scott

----- Original Message -----
From: "gr0tus" <rlmoser-***@public.gmane.org>
To: <slimp3-dev-***@public.gmane.org>
Sent: Wednesday, January 30, 2002 8:36 PM
Subject: [slimp3-dev] Re: More information in server playlists?
I was going to work on the prettyTitle function when I got home
tonight. I'm going to change it to accept a format string to choose
how to construct the pretty title (with the default being as it is
now). If I have enough time I'll also make it configurable on a per
client basis (and stored in the prefs file). The format string will
'%TRACKNUM. %TITLE'
I'm not married to the % as the marker that a keyword is coming next,
I chose it mainly because that is what EAC and LAME use. The
TITLE, ARTIST, TRACKNUM, YEAR, ALBUM, COMMENT, GENRE
It'd be nice to have to option for the server to display artist and
album as well as track title in the playlist and track number.
Especially with classical music, this can be pretty confusing,
since
track names are often things like "allegro".
Agreed.
The easiest thing to do would be just to list all of this
information
for each track. Really, I don't think this would be too bad. The
playlist scrolls anyway, so what if each track uses an extra line?
My old music system (that formed the basis for the web interface
for
<b>1. Drive My Car</b> from <i>Rubber Soul</i> by The Beatles
Which worked out quite nicely and was quite compact.
If we want to get fancy, though, we could try for some kind of
The Beatles
Rubber Soul
1. Drive My Car
....
Help
1. Help
Wolfgang Amadeus Mozart / Alfred Brendel
The Piano Concertos - Disc 1
...
I don't think this would be so hard to do. It does make parsing
the
result of the status command harder, though. Ideally, there
should ba
a variant ot the status command for human readability and one for
remote applications to use, possibly with results in xml.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sponsored by VeriSign - The Value of Trust
When building an e-commerce site, you want to start with a
secure foundation. Learn how with VeriSign's FREE Guide.
http://us.click.yahoo.com/oCuuSA/XdiDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
gr0tus
2002-01-31 01:36:54 UTC
Permalink
I was going to work on the prettyTitle function when I got home
tonight. I'm going to change it to accept a format string to choose
how to construct the pretty title (with the default being as it is
now). If I have enough time I'll also make it configurable on a per
client basis (and stored in the prefs file). The format string will
look something like this (this being the current default):

'%TRACKNUM. %TITLE'

I'm not married to the % as the marker that a keyword is coming next,
I chose it mainly because that is what EAC and LAME use. The
keywords will be the same as the MP3::Info uses:

TITLE, ARTIST, TRACKNUM, YEAR, ALBUM, COMMENT, GENRE
It'd be nice to have to option for the server to display artist and
album as well as track title in the playlist and track number.
Especially with classical music, this can be pretty confusing,
since
track names are often things like "allegro".
Agreed.
The easiest thing to do would be just to list all of this
information
for each track. Really, I don't think this would be too bad. The
playlist scrolls anyway, so what if each track uses an extra line?
My old music system (that formed the basis for the web interface
for
<b>1. Drive My Car</b> from <i>Rubber Soul</i> by The Beatles
Which worked out quite nicely and was quite compact.
If we want to get fancy, though, we could try for some kind of
The Beatles
Rubber Soul
1. Drive My Car
....
Help
1. Help
Wolfgang Amadeus Mozart / Alfred Brendel
The Piano Concertos - Disc 1
...
I don't think this would be so hard to do. It does make parsing
the
result of the status command harder, though. Ideally, there
should ba
a variant ot the status command for human readability and one for
remote applications to use, possibly with results in xml.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Tiny Wireless Camera under $80!
Order Now! FREE VCR Commander!
Click Here - Only 1 Day Left!
http://us.click.yahoo.com/nuyOHD/7.PDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
dean blackketter
2002-01-30 16:06:01 UTC
Permalink
It'd be nice to have to option for the server to display artist and
album as well as track title in the playlist and track number.
Especially with classical music, this can be pretty confusing, since
track names are often things like "allegro".
Agreed.
The easiest thing to do would be just to list all of this information
for each track. Really, I don't think this would be too bad. The
playlist scrolls anyway, so what if each track uses an extra line?
My old music system (that formed the basis for the web interface for
SliMP3) displayed tracks like this:

<b>1. Drive My Car</b> from <i>Rubber Soul</i> by The Beatles

Which worked out quite nicely and was quite compact.
The Beatles
Rubber Soul
1. Drive My Car
....
Help
1. Help
Wolfgang Amadeus Mozart / Alfred Brendel
The Piano Concertos - Disc 1
...
I don't think this would be so hard to do. It does make parsing the
result of the status command harder, though. Ideally, there should ba
a variant ot the status command for human readability and one for
remote applications to use, possibly with results in xml.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sponsored by VeriSign - The Value of Trust
Pinpoint the right security solution for your company - FREE
Guide from industry leader VeriSign gives you all the facts.
http://us.click.yahoo.com/lWSNbC/WdiDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
johnruttenberg
2002-01-30 15:16:33 UTC
Permalink
It'd be nice to have to option for the server to display artist and
album as well as track title in the playlist and track number.
Especially with classical music, this can be pretty confusing, since
track names are often things like "allegro".

The easiest thing to do would be just to list all of this information
for each track. Really, I don't think this would be too bad. The
playlist scrolls anyway, so what if each track uses an extra line?

If we want to get fancy, though, we could try for some kind of grouping:

The Beatles
Rubber Soul
1. Drive My Car
....
Help
1. Help
Wolfgang Amadeus Mozart / Alfred Brendel
The Piano Concertos - Disc 1
...

I don't think this would be so hard to do. It does make parsing the
result of the status command harder, though. Ideally, there should ba
a variant ot the status command for human readability and one for
remote applications to use, possibly with results in xml.








------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sponsored by VeriSign - The Value of Trust
Do you need to encrypt all your online transactions? Find
the perfect solution in this FREE Guide from VeriSign.
http://us.click.yahoo.com/vCuuSA/UdiDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
dean blackketter
2003-02-22 13:05:51 UTC
Permalink
<!doctype html public "-//W3C//DTD W3 HTML//EN">
<head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [slimp3-dev] More information in server
playlists?</title></head><body>
<blockquote type="cite" cite>It'd be nice to have to option for the
server to display artist and<br>
album as well as track title in the playlist and track number.<br>
Especially with classical music, this can be pretty confusing,
since<br>
track names are often things like &quot;allegro&quot;.</blockquote>
<div><br></div>
<div>Agreed.<br>
</div>
<blockquote type="cite" cite>The easiest thing to do would be just to
list all of this information<br>
for each track.&nbsp; Really, I don't think this would be too bad.&nbsp;
The</blockquote>
<blockquote type="cite" cite>playlist scrolls anyway, so what if each
track uses an extra line?</blockquote>
<div><br></div>
<div>My old music system (that formed the basis for the web interface
for SliMP3) displayed tracks like this:</div> <div><br></div> <div>&lt;b&gt;1. Drive My Car&lt;/b&gt; from &lt;i&gt;Rubber
Soul&lt;/i&gt; by The Beatles</div>
<div><br></div>
<div>Which worked out quite nicely and was quite compact. </div>
<div><br></div>
<blockquote type="cite" cite>If we want to get fancy, though, we could
try for some kind of grouping:<br>
<br>
&nbsp;&nbsp;&nbsp; The Beatles<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rubber Soul<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.
Drive My Car<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
....<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Help<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.
Help<br>
&nbsp;&nbsp;&nbsp; Wolfgang Amadeus Mozart / Alfred Brendel<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The Piano Concertos - Disc
1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>
<br>
I don't think this would be so hard to do.&nbsp; It does make parsing
the<br>
result of the status command harder, though.&nbsp; Ideally, there
should ba <br>
a variant ot the status command for human readability and one for<br>
remote applications to use, possibly with results in xml.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------ Yahoo! Groups Sponsor
---------------------~--&gt;<br>
Sponsored by VeriSign - The Value of Trust<br>
Do you need to encrypt all your online transactions? Find<br>
the perfect solution in this FREE Guide from VeriSign.<br>
http://us.click.yahoo.com/vCuuSA/UdiDAA/yigFAA/rIp0lB/TM<br>
---------------------------------------------------------------------<span </span>~-&gt;<br>
<br>
To unsubscribe from this group, send an email to:<br>
slimp3-dev-unsubscribe-***@public.gmane.org</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>&nbsp;</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/ </blockquote>
<div><br></div>
</body>
</html>

Continue reading on narkive:
Loading...