与任何手机无线同步/共享您的音乐收藏

Have an iPhone or Android phone and a music collection too large to sync to it?  Want to share your library with friends? Here’s how to sync your library with your smartphone over the internet, or stream it in any browser.

iPhone或Android手机以及音乐收藏太大而无法同步吗? 想要与朋友分享您的图书馆? 以下是通过互联网将图书馆与智能手机同步或在任何浏览器中流式传输的方法。

我们如何做到这一点 (How We’ll Accomplish This)

Subsonic is a powerful little cross-platform solution to these problems and more—it’s an open source media streamer that is based on both Java and donations, so it’s a cross-platform solution that is free for basic usage utilizing the web interface.

Subsonic是解决这些问题甚至更多的强大跨平台解决方案,它是一种基于Java和捐赠的开源媒体流,因此它是一种跨平台解决方案,可免费使用Web界面进行基本使用。

Note: In this guide we’re going to be showcasing two mobile clients which use the Subsonic API which is NOT free. You’ll get a 30-day window to try out the setup, after which you’ll be required to make a minimum €10 donation, which will give you access to all the clients including an Adobe AIR client, and a few bonuses, like removing the ad from the web interface, free future upgrades, and a yourname.subsonic.org server address.  If you choose to not donate, you can continue using the web client at no extra cost. You can more details at the Subsonic Apps page.

注意:在本指南中,我们将展示两个使用Subsonic API(并非免费)的移动客户端。 您将获得30天的试用期,然后进行设置,之后您需要进行至少10欧元的捐赠,这将使您可以访问包括Adobe AIR客户端在内的所有客户端,以及一些额外的赠金,例如从网络界面中删除广告,将来免费升级以及yourname.subsonic.org服务器地址。 如果您选择不捐赠,则可以继续使用Web客户端,而无需支付额外费用。 您可以在Subsonic Apps页面上获得更多详细信息。

安装Subsonic (Install Subsonic)

Head over to their download page and grab the installer for free.  Double-click the file and Subsonic will be installed as a service which will automatically start with Windows. Note: While installing Subsonic on Mac OS X and Linux is also relatively quick and easy, to get support for transcoding requires a little more effort.  Be sure to check the Installation Instructions.

转到他们的下载页面并免费获取安装程序。 双击该文件,Subsonic将作为服务安装,该服务将自动从Windows启动。 注意:虽然在Mac OS X和Linux上安装Subsonic也相对较快和容易,但是要获得对转码的支持需要付出更多的努力。 确保检查安装说明

Once you’ve installed Subsonic, open up a browser and point it to http://localhost/. Under the login, you’ll notice a warning message that gives you the default username and password and reminds you to change it as soon as you login.

安装Subsonic之后,打开浏览器并将其指向http:// localhost / 。 在登录名下,您会注意到一条警告消息,其中会提供默认的用户名和密码,并提醒您在登录后立即进行更改。

与任何手机无线同步/共享您的音乐收藏

Once you log in, the first thing you’ll see in the center pane is a prompt to change the administrator password, so let’s click on that link.

登录后,您将在中央窗格中看到的第一件事是提示您更改管理员密码 ,因此让我们单击该链接。

与任何手机无线同步/共享您的音乐收藏

Go ahead and change the password.  Be sure to make it strong!

继续并更改密码。 一定要使其坚固!

与任何手机无线同步/共享您的音乐收藏

将音乐添加到您的音乐库 (Add Music to Your Library)

Subsonic organizes your music by folder and assumes the following directory structure:

Subsonic按文件夹组织音乐,并采用以下目录结构:

Artist\Album\Track

艺术家\专辑\曲目

This means that when you navigate through your collection, it’ll be presented to you in that manner.  This shouldn’t be a problem for people who have an organized music library and is actually ideal for people who have eclectic managing and naming conventions (compilation albums, anyone?).  Subsonic does read ID3 tags for searching purposes, however, so you can still differentiate and find tracks that way.

这意味着当您浏览收藏夹时,它将以这种方式显示给您。 对于拥有组织化音乐库的人来说,这不应该是一个问题,对于具有折衷的管理和命名约定(合辑,任何人吗?)的人来说,这实际上是理想的选择。 Subsonic确实会读取ID3标签以进行搜索,因此您仍然可以通过这种方式区分和查找音轨。

Click on Settings in the top bar, then click on Music Folders.

点击顶部栏中的设置 ,然后点击音乐文件夹

与任何手机无线同步/共享您的音乐收藏

额外配置 (Extra Configuration)

Now that we’ve added music to the library, let’s take a look at a few other options we can tweak.

现在,我们已经将音乐添加到库中,让我们看一下可以调整的其他一些选项。

First, let’s change our display options.  Click on Settings in the top pane, and then click on Personal.

首先,让我们更改显示选项。 单击顶部窗格中的设置 ,然后单击个人。

与任何手机无线同步/共享您的音乐收藏

Here, you can change the default language, the theme for the web interface, and the options you see as your browse your library.

在这里,您可以更改默认语言,Web界面的主题以及浏览库时看到的选项。

Next, click on the Users link.

接下来,单击“ 用户”链接。

与任何手机无线同步/共享您的音乐收藏

Here, you can create and edit options for users.  Notice how I changed the max bitrate for someone who isn’t on my network.

在这里,您可以为用户创建和编辑选项。 请注意,我如何更改不在我的网络上的某人的最大比特率。

Now, let’s take a look at the Network options.

现在,让我们看一下“ 网络”选项。

与任何手机无线同步/共享您的音乐收藏

Be sure to have Subsonic automagically configure port forwarding on your router, as this is how you will be able to get access from outside of your network.  If you donated to the Subsonic project, you can also put in your username for your custom URL, which will come in handy when setting up your mobile phone client.

确保让Subsonic在路由器上自动配置端口转发,因为这是从网络外部进行访问的方式。 如果您捐赠给Subsonic项目,则还可以输入自定义URL的用户名,这将在设置手机客户端时派上用场。

Lastly, right-click on the Subsonic icon in your system tray, and go to Subsonic Control Panel.

最后,右键单击系统任务栏中的Subsonic图标,然后转到Subsonic控制面板

与任何手机无线同步/共享您的音乐收藏

On the Settings tab, you can alter the port number if you wish, or you can change the upper memory limit, which is useful if you’ve added a lot of user or if you’ve got just that big of a library.

在“ 设置”选项卡上,您可以根据需要更改端口号,也可以更改内存上限,这在添加大量用户或库很大的情况下很有用。

与任何手机无线同步/共享您的音乐收藏

Overall, there are a lot of options.  You can add and manage podcasts (which you can then stream), set up transcoding functions for specific file types and for specific users, and you can also add internet radio stations.  This, coupled with its cross-platform ability and ease of maintenance – set it and forget it – makes this one very useful system on its own.

总体而言,有很多选择。 您可以添加和管理播客(然后可以流式传输),为特定文件类型和特定用户设置转码功能,还可以添加互联网广播电台。 加上其跨平台的功能和易于维护的功能(一劳永逸地设置它),这使得该系统本身非常有用。

使用iPhone客户端 (Using the iPhone Clients)

There is a great iPhone client called iSub and is available in the app store for $4.99.  That does appear to include free updates.

有一个很棒的iPhone客户端叫iSub,可在应用商店中以$ 4.99的价格购买 。 确实包括免费更新。

iSub allows you to configure a cache size, so you can store cached songs on your iPhone indefinitely.  You can manually cache individual songs, albums, and even playlists.  The highlight of this is how it works with deletion: you can set iSub to automatically delete songs according to oldest cached or oldest played.  This allows you to play songs as you wish and new songs will automatically cache, replacing older songs you haven’t listened to.  It’s essentially a smart, automatic synching function that works on-the-fly wherever you are.

iSub允许您配置缓存大小,因此您可以将缓存的歌曲无限期地存储在iPhone上。 您可以手动缓存单个歌曲,专辑甚至播放列表。 它的亮点是删除的工作方式:您可以将iSub设置为根据最早的缓存或播放的最早的歌曲自动删除歌曲。 这样一来,您就可以播放所需的歌曲,新的歌曲将自动缓存,替换您从未听过的旧歌曲。 从本质上讲,它是一种智能的自动同步功能,可随时随地运行。

Here are a few screenshots of the settings panes for iSub (click to enlarge):

以下是iSub设置窗格的一些屏幕截图(单击放大):

与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏

On the first settings pane, input the location of your server.  If you’re going to be synching from inside of your server, you can input your IP address, but if you want the freedom of using it from anywhere, you’ll have to have either a domain name for your computer, or you can utilize the custom web address you get by donating to Subsonic.  You will then be able to input yourusername.subsonic.org as the server name.  Then, put in the username and password you set up for your Subsonic server.

在第一个设置窗格上,输入服务器的位置。 如果要从服务器内部进行同步,则可以输入IP地址,但是如果要在任何地方自由使用它,则必须为计算机设置一个域名,或者可以利用您通过捐赠给Subsonic而获得的自定义网址。 然后,您将能够输入yourusername.subsonic.org作为服务器名称。 然后,输入您为Subsonic服务器设置的用户名和密码。

Make a note of the “Enable song caching.” “Auto-cache next song,” “Maximum cache size,” and “Auto-delete old songs” options, as these will be what provides you with the synching functionality on the iPhone.  You can also configure different bitrates for caching from WiFi and from 3G.  Then, you can go ahead and start playing songs, making playlists, and so forth.  You can swipe from left to right on a song, album, or artist to either queue songs to the playlist or to cache them.

记下“启用歌曲缓存”。 “自动缓存下一首歌曲”,“最大缓存大小”和“自动删除旧歌曲”选项,因为这些将为您提供iPhone上的同步功能。 您还可以为从WiFi和3G缓存配置不同的比特率。 然后,您可以继续播放歌曲,制作播放列表等。 您可以在歌曲,专辑或歌手上从左向右滑动,以将歌曲排入播放列表或对其进行缓存。

Here are a few screenshots of the user interface (click to enlarge):

以下是用户界面的一些屏幕截图(点击放大):

与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏

Yes, you do have to pay for the app, and yes, you have to donate to the Subsonic project independently of that as well, but this is by far one of the most powerful streaming options available to the iPhone, and it’s unique in that it allows local caching and automatic deletion.  It’s also one of the few that is maintained for Linux, Unix, and Solaris.

是的,您必须付费购买该应用程序,是的,您也必须独立向Subsonic项目捐款,但这是迄今为止iPhone可用的最强大的流媒体选项之一,它的独特之处在于它允许本地缓存和自动删除。 它也是为Linux,Unix和Solaris维护的少数几个软件之一。

使用Android客户端 (Using the Android Client)

The Android client can be downloaded right off the Marketplace, and unlike the iPhone client, is free in and of itself.  Once again, in order to use the client past the 30-day limit, you will have to make a donation to the project.

Android客户端可以直接从Marketplace下载,与iPhone客户端不同,它本身是免费的。 再次,为了超过30天的期限使用客户,您将必须向该项目捐款。

The Android app is very similar to the iPhone ones.  You can manually cache and delete songs, you can queue songs in playlists, and you can set different maximum bitrates for transcoding over Wi-Fi and 3G.  The one thing the Android app is missing is an auto-delete cache feature, but there are a number of features waiting to be added and the app is still in development at the time of writing.

Android应用程序与iPhone应用程序非常相似。 您可以手动缓存和删除歌曲,可以在播放列表中排队歌曲,还可以设置不同的最大比特率以通过Wi-Fi和3G进行转码。 Android应用程序缺少的一件事是自动删除缓存功能,但是有许多功能需要添加,并且在编写本文时,该应用程序仍在开发中。

Here are a few screenshots of the settings panes (click to enlarge):

以下是设置窗格的一些屏幕截图(单击放大):

与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏

Once again, when you set up your server domain, the same situation applies.  You can plug in your IP address for use within your network, but in order to use this to its fullest potential, you’ll need to either have your own domain to get access to your Subsonic server, or you’ll need to donate to get your own custom subsonic.org domain.

再一次,当您设置服务器域时,同样的情况适用。 您可以插入IP地址以在网络中使用,但是为了最大程度地利用此IP地址,您需要拥有自己的域才能访问您的Subsonic服务器,或者您需要捐赠获取您自己的自定义subsonic.org域。

Overall, the options are fairly similar to iSub’s, though there’s no “Automatically delete cached songs” option to be found.  Once you fill up the cache, you’ll have to manually delete songs, although the streaming itself appears to work fine without doing that.  And, just like iSub, you can provide different bitrates for both WiFi and 3G.

总体来说,这些选项与iSub的选项非常相似,尽管找不到“自动删除缓存的歌曲”选项。 填满缓存后,您必须手动删除歌曲,尽管流媒体本身似乎可以正常运行,但不这样做。 而且,就像iSub一样,您可以为WiFi和3G提供不同的比特率。

Here are some screenshots of the user interface (click to enlarge):

以下是用户界面的一些屏幕截图(点击放大):

与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏

One thing you can do on Android is utilize the web interface of your server.  During testing, both the HTC Incredible and Droid X used allowed you to login through the browser, queue songs, save playlists, and – most importantly – play songs using the flash-based media player.  This is one way to use the service without being forced to give a donation (although I’d still highly recommend it).

您可以在Android上做的一件事是利用服务器的网络界面。 在测试过程中,使用的HTC Incredible和Droid X均允许您通过浏览器登录,对歌曲进行排队,保存播放列表,以及最重要的是,使用基于Flash的媒体播放器播放歌曲。 这是一种使用服务而无需被迫捐赠的方法(尽管我仍然强烈推荐)。

与任何手机无线同步/共享您的音乐收藏
与任何手机无线同步/共享您的音乐收藏

Subsonic, as well as its clients, are in active development.  The Android client in particular needs a bit of work to catch up with iSub.  But for what it’s worth, while there are a decent number of alternative available (some for free), I have yet to see a solution that works as elegantly.  Linux users in particular may find this to be a great app, as there are few solutions for multimedia streaming available to them after SimplifyMedia shut down.

Subsonic及其客户正在积极开发中。 特别是Android客户端,需要一些工作才能赶上iSub。 但是就其价值而言,尽管有很多替代品(有些是免费的),但我还没有看到一种能优雅地工作的解决方案。 特别是Linux用户,可能会发现它是一个很棒的应用程序,因为在SimplifyMedia关闭后,几乎没有针对他们的多媒体流解决方案。



As you can see, with the right configuration, you can have a fairly automated synching system for your mobile phone, as well as access to your entire music library from any computer.  You can configure users to allow other people to share your library, and you can do it regardless of what platform you’re on or where you are.

如您所见,通过正确的配置,您可以为手机配备一个相当自动化的同步系统,并可以从任何计算机访问整个音乐库。 您可以配置用户以允许其他人共享您的库,无论您在什么平台上或在什么位置上,都可以这样做。

翻译自: https://www.howtogeek.com/howto/30264/wirelessly-sync-share-your-music-collection-with-any-mobile-phone/

相关文章:

  • 2021-08-14
  • 2021-08-01
  • 2021-12-15
  • 2021-12-13
  • 2021-10-15
  • 2021-08-10
  • 2021-09-01
  • 2022-12-23
猜你喜欢
  • 2021-08-23
  • 2021-12-27
  • 2021-12-10
  • 2021-10-09
  • 2021-12-25
  • 2021-04-05
  • 2021-11-17
相关资源
相似解决方案