{"id":64,"date":"2014-11-17T23:10:42","date_gmt":"2014-11-18T07:10:42","guid":{"rendered":"http:\/\/162.243.52.58\/wifi\/?p=64"},"modified":"2014-11-25T00:07:19","modified_gmt":"2014-11-25T08:07:19","slug":"itunes-library-share-hack","status":"publish","type":"post","link":"https:\/\/www.skifactz.com\/wifi\/?p=64","title":{"rendered":"iTunes Library Share Hack (Tuneshare)"},"content":{"rendered":"<h5>Automatically share your music with other Windows users<\/h5>\n<p>Sharing a common iTunes library among two or more Windows users is not easy. iTunes is designed to function as a personal product where each user has a unique music collection.<\/p>\n<p>But what if you and your spouse or roommate listen to the same music and subscribe to the same podcasts? Using Apple&#8217;s logic you&#8217;d have to store duplicates of everything in parallel libraries. This is a waste of disc space. Luckily there is an iTunes hack that makes it possible to have a common iTunes library.<\/p>\n<p>The Tuneshare iTunes hack is based on an earlier article [LINK] and simplifies the process by using a batch file that you can run every time you want to give USER 2 access to USER 1&#8217;s iTunes library.<\/p>\n<p><strong>InstallTuneshare iTunes Hack<\/strong><\/p>\n<p>The Tuneshare iTunes library hack is simple to install and run. Copy and paste the code into the notepad and save it as tuneshare.bat.<\/p>\n<p>Run the batch file from command line as:<\/p>\n<p><em>tuneshare user1 user2<\/em><\/p>\n<p>Where &#8220;user1&#8221; is the Windows user whose library you want to copy to &#8220;user2.&#8221; It is also possible to hard code the user names into the script so that you can run it by double clicking.<\/p>\n<p><em>REM Use Tuneshare to share one iTunes library<\/em><br \/>\n<em> REM between two or more Windows users.<\/em><br \/>\n<em> REM Instructions for use at www.skifactz.com\\wifi.<\/em><\/p>\n<p><em>ECHO OFF<\/em><\/p>\n<p><em>CLS<\/em><br \/>\n<em> IF &#8220;%1&#8243;==&#8221;&#8221; GOTO Instructions<\/em><\/p>\n<p><em>REM Remove garbage<\/em><br \/>\n<em> IF EXIST C:\\&#8221;Documents and Settings&#8221;\\%2\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes\\&#8221;iTunes Library (Damaged).itl&#8221; DEL C:\\&#8221;Documents and Settings&#8221;\\%2\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes\\&#8221;iTunes Library (Damaged).itl&#8221;<\/em><\/p>\n<p><em>REM Verify paths and user names<\/em><br \/>\n<em> IF NOT EXIST C:\\&#8221;Documents and Settings&#8221;\\%1\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes\\&#8221;iTunes Music Library.xml&#8221; GOTO SourceError<\/em><br \/>\n<em> IF NOT EXIST C:\\&#8221;Documents and Settings&#8221;\\%2\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes GOTO DestinationError<\/em><\/p>\n<p><em>REM Backup existing library<\/em><br \/>\n<em> COPY C:\\&#8221;Documents and Settings&#8221;\\%2\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes\\&#8221;iTunes Music Library.xml&#8221; C:\\&#8221;Documents and Settings&#8221;\\%2\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes\\&#8221;Previous iTunes Libraries&#8221;\\&#8221;iTunes Music Library.xml&#8221;<\/em><br \/>\n<em> COPY C:\\&#8221;Documents and Settings&#8221;\\%2\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes\\&#8221;iTunes Library.itl&#8221; C:\\&#8221;Documents and Settings&#8221;\\%2\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes\\&#8221;Previous iTunes Libraries&#8221;\\&#8221;iTunes Library.itl&#8221;<\/em><\/p>\n<p><em>REM Modify *.itl and copy .xml<\/em><br \/>\n<em> DEL C:\\&#8221;Documents and Settings&#8221;\\%2\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes\\&#8221;iTunes Library.itl&#8221;<\/em><br \/>\n<em> ECHO OFF &gt; C:\\&#8221;Documents and Settings&#8221;\\%2\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes\\&#8221;iTunes Library.itl&#8221;<\/em><br \/>\n<em> COPY C:\\&#8221;Documents and Settings&#8221;\\%1\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes\\&#8221;iTunes Music Library.xml&#8221; C:\\&#8221;Documents and Settings&#8221;\\%2\\&#8221;My Documents&#8221;\\&#8221;My Music&#8221;\\iTunes\\&#8221;iTunes Music Library.xml&#8221;<\/em><br \/>\n<em> ECHO %2&#8217;s iTunes library is now synchronized to %1&#8217;s library.<\/em><br \/>\n<em> GOTO Done<\/em><\/p>\n<p><em>:SourceError<\/em><br \/>\n<em> CLS<\/em><br \/>\n<em> ECHO Source path or source user name doesn&#8217;t exist.<\/em><br \/>\n<em> ECHO Verify that your iTunes library path is<\/em><br \/>\n<em> ECHO C:\\Documents and Settings\\USER\\My Documents\\My Music\\iTunes<\/em><br \/>\n<em> GOTO Done<\/em><\/p>\n<p><em>:DestinationError<\/em><br \/>\n<em> CLS<\/em><br \/>\n<em> ECHO Destination path or destination user name doesn&#8217;t exist.<\/em><br \/>\n<em> ECHO Verify that your iTunes library path is<\/em><br \/>\n<em> ECHO C:\\Documents and Settings\\USER\\My Documents\\My Music\\iTunes<\/em><br \/>\n<em> GOTO Done<\/em><\/p>\n<p><em>:Instructions<\/em><br \/>\n<em> CLS<\/em><br \/>\n<em> ECHO You must use this syntax: TUNESHARE USER1 USER2<\/em><br \/>\n<em> ECHO where &#8220;user1&#8221; is the Windows user whose library you want to copy to &#8220;user2.&#8221;<\/em><\/p>\n<p><em>:Done<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Automatically share your music with other Windows users Sharing a common iTunes library among two or more Windows users is not easy. iTunes is designed to function as a personal product where each user has a unique music collection. But what if you and your spouse or roommate listen to the same music and subscribe &hellip; <a href=\"https:\/\/www.skifactz.com\/wifi\/?p=64\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">iTunes Library Share Hack (Tuneshare)<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-software"],"_links":{"self":[{"href":"https:\/\/www.skifactz.com\/wifi\/index.php?rest_route=\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skifactz.com\/wifi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skifactz.com\/wifi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skifactz.com\/wifi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skifactz.com\/wifi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":5,"href":"https:\/\/www.skifactz.com\/wifi\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":69,"href":"https:\/\/www.skifactz.com\/wifi\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions\/69"}],"wp:attachment":[{"href":"https:\/\/www.skifactz.com\/wifi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skifactz.com\/wifi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skifactz.com\/wifi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}