PDA

View Full Version : Possible to play songs directly from connected iPod?



jdunning
2005-06-10, 00:55
Let's say your iPod is connected to the computer where SlimServer is running. Assuming the files have no DRM issues, would it be possible to play them directly from the iPod? In other words, treat the iPod as an external drive and play the files without importing them into the SlimServer database?

The scenario I'm imagining is someone coming over with their iPod and wanting to play music through the Squeezebox. Since their music won't be around forever, I don't want SlimServer to index it or anything, just play it (and ideally list it out for random access).

Thanks!

Craig, James (IT)
2005-06-10, 01:33
Playing songs from a mounted iPod should certainly work but my
experience with 6.0 is you can't play files without adding them to the
SlimServer database.
You can force SlimServer to play files it doesn't know about, but this
action adds them to the database.

James
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

danco
2005-06-10, 02:17
On 10/6/05 at 9:33 am +0100, Craig, James (IT) wrote
>Playing songs from a mounted iPod should certainly work but my
>experience with 6.0 is you can't play files without adding them to the
>SlimServer database.


It would always be possible to use something like Nicecast (on a Mac
- similar programs for other platforms) to stream the material as a
broadcast. But of course that costs money and also may be too much of
a hassle.

>You can force SlimServer to play files it doesn't know about, but this
>action adds them to the database.
>
>James
>--------------------------------------------------------
>
>NOTICE: If received in error, please destroy and notify sender.
>Sender does not waive confidentiality or privilege, and use is
>prohibited.

Even if I had received the email in error, I still think destroying
the sender is over the top!

--
Daniel Cohen

ceejay
2005-06-10, 06:30
please destroy and notify sender...

Even if I had received the email in error, I still think destroying
the sender is over the top!


The other point is that if you are going to destroy AND notify, it probably makes more sense to notify FIRST.... :)

kjg
2005-06-10, 07:20
I believe that if you add a Windows shortcut (assuming a Windows server)
for the mounted drive to the Slim Server music directory, you can use
the Browse Music Folder feature to traverse into it an play the music.
It shouldn't require addition of the music to the database to handle this.

- Ken

Craig, James (IT) wrote:

>Playing songs from a mounted iPod should certainly work but my
>experience with 6.0 is you can't play files without adding them to the
>SlimServer database.
>You can force SlimServer to play files it doesn't know about, but this
>action adds them to the database.
>
>James
>--------------------------------------------------------
>
>NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
>
>
>

Craig, James (IT)
2005-06-10, 08:46
>It shouldn't require addition of the music to the database to handle
this.

Possibly in 5.4 but not in 6.0
I just tried it, and playing the track adds it to the database.
Makes sense because all SlimServer's work is done via the database now.

James
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

fuzzyT
2005-06-10, 08:59
Craig, James (IT) wrote:
> Possibly in 5.4 but not in 6.0 I just tried it, and playing the track
> adds it to the database. Makes sense because all SlimServer's work is
> done via the database now.

Just wondering whether or not this is really much of an issue.

Once the iPod goes home with it's owner, the shortcut should be removed
and the database will pick up on the absence of these tracks on next
rescan.

SS may even pick up on the missing tracks interactively if you browse
to, or try to play, one of them.

This use case might be well served by some of the multi-library and
multi-user enhancements that have been filed.

Some here:
<http://bugs.slimdevices.com/show_bug.cgi?id=437>
<http://bugs.slimdevices.com/show_bug.cgi?id=825>

In this case, the iPod library might have it's own profile on the SS,
with that profile's library path pointing to the iPod drive, and coexist
in parallel to your main library. iPod tracks would still have to be
scanned, or used via 'browse files', but the entries wouldn't get mixed
into your main library entries in the SS database.

--rt

Craig, James (IT)
2005-06-10, 09:03
It's probably not a problem (as well as being unavoidable at this point)
but the original poster did say not to put them in the database!

In fact the track did disappear after I deleted it, the 2nd time I
subsequently navigated to it in the library.

Background database maintenance is a future enhancement I believe?


James
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

JJZolx
2005-06-10, 09:45
It's probably not a problem (as well as being unavoidable at this point)
but the original poster did say not to put them in the database!

In fact the track did disappear after I deleted it, the 2nd time I
subsequently navigated to it in the library.

Background database maintenance is a future enhancement I believe?

Like you say, probably unavoidable at this point given the design philosophy of "caching" information. Someone obviously thought caching was the be all and end all to server performance enhancements at some point. Helpful, maybe, but the potential problems (and confusion) caused by caching also have to be recognized.

This is an issue with not just iPods but any removable storage - for instance, my buddy's portable firewire hard drive with his music collection, or a USB pen drive with a couple dozen tracks. Or any _temporary_ files for that matter. I like to download low-quality mp3s of music I'm considering buying, or unfamiliar artists that I just want to check out. The only way to play them through SlimServer is to throw them into the Music directory tree, browse to them, let SlimServer add the file/track info into its database, then play the music. Then delete the files and remove the data at some later date. Sheesh, I sure don't have to go through all that to listen to the file through WinAmp or foobar2000 or Windows Media Player.

There really needs to be a way to play back tracks without having them added to the database and later having to clear out the junk created by having browsed a removable storage device.

I've said it before - give me the option of realtime _actual_ directory browsing without adding information to SlimServer's database.

Dan Sully
2005-06-10, 10:19
* Craig, James (IT) shaped the electrons to say...

> Background database maintenance is a future enhancement I believe?

The database goes through a complete garbage collection phase in the 6.1 tree after a rescan.

-D
--
<dr.pox> NO, NETBSD IS NOT REALLY BUILT WITH ELITE FORTRAN77!!@$#$

jdunning
2005-06-10, 15:39
Thanks for all the feedback on this. I don't have a Squeezebox yet, but was looking at getting one for my parents' house, where the "iPod comes, iPod goes" use case will be common. And since this is a non-geek environment, ease of use is important.


I've said it before - give me the option of realtime _actual_ directory browsing without adding information to SlimServer's database.
That would definitely be an important enhancement. I see the sense of the iTunes/SlimServer approach of sucking in files as soon as they're played. It's one less step for the most common scenario. But it would be nice if SS could detect that the file source is removable media and not automatically add the file (or at least track the media to see if it's removed at some point).

The other enhancement I'd really like to see is the ability to play a CD directly from the drive without ripping, or at least with on-the-fly transcoding. I did see a thread awhile back about using the Shoutcast server to stream music from Winamp to SS, but I wasn't able to get this to work. But even if I did, it's not a parent-friendly solution.