How to rescan your library in Playdar

0 views
Skip to first unread message

Lucas Gonze

unread,
Dec 6, 2009, 8:29:36 PM12/6/09
to pla...@googlegroups.com
How to rescan your library in Playdar:

If you are in the OS X prefpane version, open the dropdown to say
which directory your music files are in. Just open and close it and
you'll trigger the rescan.

I'm emailing this to the list so that it will turn up in future Google searches.

It would be cool to know how to do it in Windar and console playdarctl.



On Wed, Dec 2, 2009 at 10:33 AM, Daniel Kantor <dan.k...@gmail.com> wrote:
> sweet, that worked! Thanks
>
> On Wed, Dec 2, 2009 at 11:34 AM, James Wheare <ja...@wheare.org> wrote:
>>
>> You need to supply an auth code e.g. ?auth=. Just sniff the network calls
>> on Playlick.
>>
>> On Wed, Dec 2, 2009 at 4:29 PM, Daniel Kantor <dan.k...@gmail.com>
>> wrote:
>>>
>>> I get 'Not found.' on 60210
>>>
>>> On Wed, Dec 2, 2009 at 11:22 AM, James Wheare <ja...@wheare.org> wrote:
>>>>
>>>> He meant 60210
>>>>
>>>> On Wed, Dec 2, 2009 at 4:10 PM, Daniel Kantor <dan.k...@gmail.com>
>>>> wrote:
>>>>>
>>>>> It doesn't look like anything is listening on port 60211. Do I need to
>>>>> change something in the config?
>>>>>
>>>>> On Wed, Dec 2, 2009 at 11:07 AM, Max Howell <m...@methylblue.com> wrote:
>>>>>>
>>>>>> It calls a number of localhost urls:
>>>>>>
>>>>>> http://localhost:60211/audioscrobbler/start
>>>>>> http://localhost:60211/audioscrobbler/pause
>>>>>> http://localhost:60211/audioscrobbler/resume
>>>>>> http://localhost:60211/audioscrobbler/stop
>>>>>>
>>>>>> Start has a number of query parameters that should be documented
>>>>>> fairly clearly in the erlang module code. But yeah pretty simple to
>>>>>> do.
>>>>>>
>>>>>> Stop should only be called when the playlist ends though, when a track
>>>>>> ends but a new track is about to start, just call start again.
>>>>>>
>>>>>> Max
>>>>>>
>>>>>> On Wed, Dec 2, 2009 at 4:00 PM, Daniel Kantor <dan.k...@gmail.com>
>>>>>> wrote:
>>>>>> > Ok that makes more sense. You said - 'playdar.js tells
>>>>>> > Audioscrobbler.app'.
>>>>>> > How is this done? I am asking b/c I am not using playdar.js and
>>>>>> > probably as
>>>>>> > a consequence, don't see audioscrobbler.app scrobbling anything.
>>>>>> >
>>>>>> > On Wed, Dec 2, 2009 at 3:50 AM, Max Howell <m...@methylblue.com>
>>>>>> > wrote:
>>>>>> >>
>>>>>> >> Thanks Dan :)
>>>>>> >>
>>>>>> >> The audioscrobbler and scrobsub modules are separate modules, which
>>>>>> >> is
>>>>>> >> indeed confusing, and may need a rethink. So as a consequence I
>>>>>> >> blacklist the audioscrobbler one.
>>>>>> >>
>>>>>> >> So the audioscrobbler module was written by RJ in erlang and
>>>>>> >> scrobbles
>>>>>> >> inside playdar, scrobsub marshalls the scrobbles to
>>>>>> >> Audioscrobbler.app
>>>>>> >> (and Last.fm's client 2.0 which is still unreleased). External
>>>>>> >> clients
>>>>>> >> also scrobbles iTunes etc. and it means you don't have to edit
>>>>>> >> playdar.conf to enter your Last.fm password, so there are a number
>>>>>> >> of
>>>>>> >> reasons people may prefer this. Personally I did it all for Growl
>>>>>> >> notifications from playdar apps as it makes the whole experience
>>>>>> >> feel
>>>>>> >> really integrated.
>>>>>> >>
>>>>>> >> The scrobbling knows when a song is halfway by timing it. When the
>>>>>> >> track starts playdar.js tells Audioscrobbler.app how long the song
>>>>>> >> is.
>>>>>> >> A scrobble is 50% length. playdar.js tells a.app if the song is
>>>>>> >> paused, or if a new track starts, so from that you have all the
>>>>>> >> data
>>>>>> >> you need to determine the scrobble.
>>>>>> >>
>>>>>> >> Max
>>>>>> >>
>>>>>> >> On Tue, Dec 1, 2009 at 9:18 PM, Daniel Kantor
>>>>>> >> <dan.k...@gmail.com>
>>>>>> >> wrote:
>>>>>> >> > This is great. Thanks Max!
>>>>>> >> >
>>>>>> >> > I am curious about the scrobbling - how does it know when the
>>>>>> >> > song is
>>>>>> >> > halfway through? Also, I see "audioscrobbler" in the blacklist.
>>>>>> >> > Is this
>>>>>> >> > related?
>>>>>> >> >
>>>>>> >> > Dan
>>>>>> >> >
>>>>>> >> > On Tue, Dec 1, 2009 at 1:13 PM, Lucas Gonze
>>>>>> >> > <lucas...@gmail.com>
>>>>>> >> > wrote:
>>>>>> >> >>
>>>>>> >> >> Seeing number of files scanned is a cool kind of instant
>>>>>> >> >> gratification, as well as a good way to know if there was a
>>>>>> >> >> problem
>>>>>> >> >> with the scan.
>>>>>> >> >>
>>>>>> >> >> On Tue, Dec 1, 2009 at 2:43 AM, Max Howell <m...@methylblue.com>
>>>>>> >> >> wrote:
>>>>>> >> >> > Yo peeps,
>>>>>> >> >> >
>>>>>> >> >> > So I've released 4 builds over the last 2 weeks, the latest
>>>>>> >> >> > one at
>>>>>> >> >> > http://playdar.org/download is fairly solid.
>>>>>> >> >> >
>>>>>> >> >> > Notable features include:
>>>>>> >> >> >
>>>>>> >> >> > * fsevents monitoring, so once you've scanned new files or
>>>>>> >> >> > metadata
>>>>>> >> >> > changes will be observed. Note that you must *rescan* for this
>>>>>> >> >> > feature
>>>>>> >> >> > to start being used.
>>>>>> >> >> > * Scrobbling via Audioscrobbler.app, so you can have Growl
>>>>>> >> >> > notifications:
>>>>>> >> >> >
>>>>>> >> >> > http://www.last.fm/group/Audioscrobbler+Beta/forum/30705/_/553795
>>>>>> >> >> >
>>>>>> >> >> > Minor improvements:
>>>>>> >> >> >
>>>>>> >> >> > * On/Off behaviour is more solid now, menu item reflects
>>>>>> >> >> > playdar
>>>>>> >> >> > state
>>>>>> >> >> > accurately (provided the playdar internals don't crash, but
>>>>>> >> >> > we'll fix
>>>>>> >> >> > those).
>>>>>> >> >> > * Scanning shows number of files scanned
>>>>>> >> >> > * Selecting additional directories scans them when playdar is
>>>>>> >> >> > on
>>>>>> >> >> > * Scripts and configuration is usable
>>>>>> >> >> >
>>>>>> >> >> > Other stuff:
>>>>>> >> >> >
>>>>>> >> >> > * We bundle the aol music resolver ready for use but
>>>>>> >> >> > blacklisted by
>>>>>> >> >> > default
>>>>>> >> >> > * You can keep the playdar daemon up to date by:
>>>>>> >> >> >
>>>>>> >> >> >    cd ~/Library/PreferencePanes/Playdar.prefPane
>>>>>> >> >> >    make
>>>>>> >> >> >
>>>>>> >> >> > And from then on, use make update && make.
>>>>>> >> >> >
>>>>>> >> >> > Note that you must have git and GNU-make installed for this to
>>>>>> >> >> > work.
>>>>>> >> >> >
>>>>>> >> >> > Max
>>>>>> >> >> >
>>>>>> >> >> > --
>>>>>> >> >> >
>>>>>> >> >> > You received this message because you are subscribed to the
>>>>>> >> >> > Google
>>>>>> >> >> > Groups "playdar" group.
>>>>>> >> >> > To post to this group, send email to pla...@googlegroups.com.
>>>>>> >> >> > To unsubscribe from this group, send email to
>>>>>> >> >> > playdar+u...@googlegroups.com.
>>>>>> >> >> > For more options, visit this group at
>>>>>> >> >> > http://groups.google.com/group/playdar?hl=en.
>>>>>> >> >> >
>>>>>> >> >> >
>>>>>> >> >> >
>>>>>> >> >>
>>>>>> >> >> --
>>>>>> >> >>
>>>>>> >> >> You received this message because you are subscribed to the
>>>>>> >> >> Google
>>>>>> >> >> Groups
>>>>>> >> >> "playdar" group.
>>>>>> >> >> To post to this group, send email to pla...@googlegroups.com.
>>>>>> >> >> To unsubscribe from this group, send email to
>>>>>> >> >> playdar+u...@googlegroups.com.
>>>>>> >> >> For more options, visit this group at
>>>>>> >> >> http://groups.google.com/group/playdar?hl=en.
>>>>>> >> >>
>>>>>> >> >>
>>>>>> >> >
>>>>>> >> > --
>>>>>> >> >
>>>>>> >> > You received this message because you are subscribed to the
>>>>>> >> > Google
>>>>>> >> > Groups
>>>>>> >> > "playdar" group.
>>>>>> >> > To post to this group, send email to pla...@googlegroups.com.
>>>>>> >> > To unsubscribe from this group, send email to
>>>>>> >> > playdar+u...@googlegroups.com.
>>>>>> >> > For more options, visit this group at
>>>>>> >> > http://groups.google.com/group/playdar?hl=en.
>>>>>> >> >
>>>>>> >>
>>>>>> >> --
>>>>>> >>
>>>>>> >> You received this message because you are subscribed to the Google
>>>>>> >> Groups
>>>>>> >> "playdar" group.
>>>>>> >> To post to this group, send email to pla...@googlegroups.com.
>>>>>> >> To unsubscribe from this group, send email to
>>>>>> >> playdar+u...@googlegroups.com.
>>>>>> >> For more options, visit this group at
>>>>>> >> http://groups.google.com/group/playdar?hl=en.
>>>>>> >>
>>>>>> >>
>>>>>> >
>>>>>> > --
>>>>>> >
>>>>>> > You received this message because you are subscribed to the Google
>>>>>> > Groups
>>>>>> > "playdar" group.
>>>>>> > To post to this group, send email to pla...@googlegroups.com.
>>>>>> > To unsubscribe from this group, send email to
>>>>>> > playdar+u...@googlegroups.com.
>>>>>> > For more options, visit this group at
>>>>>> > http://groups.google.com/group/playdar?hl=en.
>>>>>> >
>>>>>>
>>>>>> --
>>>>>>
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "playdar" group.
>>>>>> To post to this group, send email to pla...@googlegroups.com.
>>>>>> To unsubscribe from this group, send email to
>>>>>> playdar+u...@googlegroups.com.
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/playdar?hl=en.
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "playdar" group.
>>>>> To post to this group, send email to pla...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> playdar+u...@googlegroups.com.
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/playdar?hl=en.
>>>>
>>>> --
>>>>
>>>> You received this message because you are subscribed to the Google
>>>> Groups "playdar" group.
>>>> To post to this group, send email to pla...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> playdar+u...@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/playdar?hl=en.
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google Groups
>>> "playdar" group.
>>> To post to this group, send email to pla...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> playdar+u...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/playdar?hl=en.
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "playdar" group.
>> To post to this group, send email to pla...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> playdar+u...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/playdar?hl=en.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "playdar" group.
> To post to this group, send email to pla...@googlegroups.com.
> To unsubscribe from this group, send email to
> playdar+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/playdar?hl=en.
>

Max Howell

unread,
Dec 6, 2009, 9:56:23 PM12/6/09
to pla...@googlegroups.com
> How to rescan your library in Playdar:
>
> If you are in the OS X prefpane version, open the dropdown to say
> which directory your music files are in.   Just open and close it and
> you'll trigger the rescan.
>
> I'm emailing this to the list so that it will turn up in future Google searches.
>
> It would be cool to know how to do it in Windar and console playdarctl.

Indeed, although you shouldn't need to do such things anymore, what
with the filesystem watching code on mac now (although there are some
bugs I found).

Still you never know when you need to know something like this.

Max

James Wheare

unread,
Dec 6, 2009, 11:20:59 PM12/6/09
to pla...@googlegroups.com
Filesytem watching code doesn't seem to be working here. Let me know if you need me to debug.


Max

Max Howell

unread,
Dec 7, 2009, 8:36:51 AM12/7/09
to pla...@googlegroups.com
> Filesytem watching code doesn't seem to be working here. Let me know if you
> need me to debug.

You have to rescan before it starts working, did you do that?

Otherwise there is a bug where if you add new files to the dir, and
they are double nested inside two new directories, it doesn't notice
them. I know how to fix it. But the easiest way to make it notice them
is to recursively touch everything (the touch command line command).
Eg.

find dir | xargs touch

Max Howell

unread,
Dec 7, 2009, 8:39:45 AM12/7/09
to pla...@googlegroups.com
To clarify this, the rescan is not required for new users, only old
ones, because we didn't store the directories you scanned before.

Steve Robertson

unread,
Dec 7, 2009, 1:21:03 PM12/7/09
to pla...@googlegroups.com
Next release of Windar will provide a feature to do this in a library tab of the main GUI window. There'll be a list of folders known to be part of the library and changes to this will cause the library to be rescanned. Re-scanning without changes to that list also possible with a Re-index button also provided. This next release taking a bit longer as I'm writing a parser to allow me to provide a UI to configuration while preserving manual edits.

Steve
Reply all
Reply to author
Forward
0 new messages