Need help with iTunes match on my iPhone 6. No longer syncing music as before on my iPhone 5.
since purchasing my iPhone 6, i'm no longer able to play my music via iTunes match. i had no problems before playing off all my devices.
Try posting in the iTunes Match forum, you'll probably find more knowledgeable folks there.
https://discussions.apple.com/community/itunes/itunes_match
Similar Messages
-
I have added songs onto my list before, recently i am not able to load anything. it gets to stage 2 to check the songs, it stalls on the last one and then doesnt get to stage 3 to upload them to the cloud, so i cant get the songs onto my phone, Please help
Hi. We have another thread going on this topic here: https://discussions.apple.com/message/26083187#26083187
Lots of people are having this same issue. -
Need Help With File Matching Records
I need help with my file matching program.
Here is how it suppose to work: FileMatch class should contain methods to read oldmast.txt and trans.txt. When a match occurs (i.e., records with the same account number appear in both the master file and the transaction file), add the dollar amount in the transaction record to the current balance in the master record, and write the "newmast.txt" record. (Assume that purchases are indicated by positive amounts in the transaction file and payments by negative amounts.)
When there is a master record for a particular account, but no corresponding transaction record, merely write the master record to "newmast.txt". When there is a transaction record, but no corresponding master record, print to a log file the message "Unmatched transaction record for account number ..." (fill in the account number from the transaction record). The log file should be a text file named "log.txt".
Here is my following program code:
// Exercise 14.8: CreateTextFile.java
// creates a text file
import java.io.FileNotFoundException;
import java.lang.SecurityException;
import java.util.Formatter;
import java.util.FormatterClosedException;
import java.util.NoSuchElementException;
import java.util.Scanner;
import org.egan.AccountRecord;
import org.egan.TransactionRecord;
public class CreateTextFile
private Formatter output1; // object used to output text to file
private Formatter output2; // object used to output text to file
// enable user to open file
public void openTransFile()
try
output1 = new Formatter("trans.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openTransFile
// enable user to open file
public void openOldMastFile()
try
output2 = new Formatter("oldmast.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openOldMastFile
// add transaction records to file
public void addTransactionRecords()
// object to be written to file
TransactionRecord record1 = new TransactionRecord();
Scanner input1 = new Scanner(System.in);
System.out.printf("%s\n%s\n%s\n%s\n\n",
"To terminate input, type the end-of-file indicator",
"when you are prompted to enter input.",
"On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
"On Windows type <ctrl> z then press Enter");
System.out.printf("%s\n%s",
"Enter account number (> 0) and amount.","? ");
while (input1.hasNext()) // loop until end-of-file indicator
try // output values to file
// retrieve data to be output
record1.setAccount(input1.nextInt()); // read account number
record1.setAmount(input1.nextDouble()); // read amount
if (record1.getAccount() > 0)
// write new record
output1.format("%d %.2f\n", record1.getAccount(), record1.getAmount());
} // end if
else
System.out.println("Account number must be greater than 0.");
} // end else
} // end try
catch (FormatterClosedException formatterClosedException)
System.err.println("Error writing to file.");
return;
} // end catch
catch (NoSuchElementException elementException)
System.err.println("Invalid input. Please try again.");
input1.nextLine(); // discard input so user can try again
} // end catch
System.out.printf("%s %s\n%s", "Enter account number (> 0) ",
"and amount.","? ");
} // end while
} // end method addTransactionRecords
// add account records to file
public void addAccountRecords()
// object to be written to file
AccountRecord record2 = new AccountRecord();
Scanner input2 = new Scanner(System.in);
System.out.printf("%s\n%s\n%s\n%s\n\n",
"To terminate input, type the end-of-file indicator",
"when you are prompted to enter input.",
"On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
"On Windows type <ctrl> z then press Enter");
System.out.printf("%s\n%s",
"Enter account number (> 0), first name, last name and balance.","? ");
while (input2.hasNext()) // loop until end-of-file indicator
try // output values to file
// retrieve data to be output
record2.setAccount(input2.nextInt()); // read account number
record2.setFirstName(input2.next()); // read first name
record2.setLastName(input2.next()); // read last name
record2.setBalance(input2.nextDouble()); // read balance
if (record2.getAccount() > 0)
// write new record
output2.format("%d %s %s %.2f\n", record2.getAccount(), record2.getFirstName(),
record2.getLastName(), record2.getBalance());
} // end if
else
System.out.println("Account number must be greater than 0.");
} // end else
} // end try
catch (FormatterClosedException formatterClosedException)
System.err.println("Error writing to file.");
return;
} // end catch
catch (NoSuchElementException elementException)
System.err.println("Invalid input. Please try again.");
input2.nextLine(); // discard input so user can try again
} // end catch
System.out.printf("%s %s\n%s", "Enter account number (> 0),",
"first name, last name and balance.","? ");
} // end while
} // end method addAccountRecords
// close file
public void closeTransFile()
if (output1 != null)
output1.close();
} // end method closeTransFile
// close file
public void closeOldMastFile()
if (output2 != null)
output2.close();
} // end method closeOldMastFile
} // end class CreateTextFile--------------------------------------------------------------------------------------------------
// Exercise 14.8: CreateTextFileTest.java
// Testing class CreateTextFile
public class CreateTextFileTest
// main method begins program execution
public static void main( String args[] )
CreateTextFile application = new CreateTextFile();
application.openTransFile();
application.addTransactionRecords();
application.closeTransFile();
application.openOldMastFile();
application.addAccountRecords();
application.closeOldMastFile();
} // end main
} // end class CreateTextFileTest-------------------------------------------------------------------------------------------------
// Exercise 14.8: TransactionRecord.java
// A class that represents on record of information
package org.egan; // packaged for reuse
public class TransactionRecord
private int account;
private double amount;
// no-argument constructor calls other constructor with default values
public TransactionRecord()
this(0,0.0); // call two-argument constructor
} // end no-argument AccountRecord constructor
// initialize a record
public TransactionRecord(int acct, double amt)
setAccount(acct);
setAmount(amt);
} // end two-argument TransactionRecord constructor
// set account number
public void setAccount(int acct)
account = acct;
} // end method setAccount
// get account number
public int getAccount()
return account;
} // end method getAccount
// set amount
public void setAmount(double amt)
amount = amt;
} // end method setAmount
// get amount
public double getAmount()
return amount;
} // end method getAmount
} // end class TransactionRecord -------------------------------------------------------------------------------------------------
// Exercise 14.8: AccountRecord.java
// A class that represents on record of information
package org.egan; // packaged for reuse
import org.egan.TransactionRecord;
public class AccountRecord
private int account;
private String firstName;
private String lastName;
private double balance;
// no-argument constructor calls other constructor with default values
public AccountRecord()
this(0,"","",0.0); // call four-argument constructor
} // end no-argument AccountRecord constructor
// initialize a record
public AccountRecord(int acct, String first, String last, double bal)
setAccount(acct);
setFirstName(first);
setLastName(last);
setBalance(bal);
} // end four-argument AccountRecord constructor
// set account number
public void setAccount(int acct)
account = acct;
} // end method setAccount
// get account number
public int getAccount()
return account;
} // end method getAccount
// set first name
public void setFirstName(String first)
firstName = first;
} // end method setFirstName
// get first name
public String getFirstName()
return firstName;
} // end method getFirstName
// set last name
public void setLastName(String last)
lastName = last;
} // end method setLastName
// get last name
public String getLastName()
return lastName;
} // end method getLastName
// set balance
public void setBalance(double bal)
balance = bal;
} // end method setBalance
// get balance
public double getBalance()
return balance;
} // end method getBalance
// combine balance and amount
public void combine(TransactionRecord record)
balance = (getBalance() + record.getAmount());
} // end method combine
} // end class AccountRecord -------------------------------------------------------------------------------------------------
// Exercise 14.8: FileMatch.java
import java.io.File;
import java.io.FileNotFoundException;
import java.lang.IllegalStateException;
import java.util.NoSuchElementException;
import java.util.Scanner;
import java.util.Formatter;
import java.util.FormatterClosedException;
import org.egan.AccountRecord;
import org.egan.TransactionRecord;
public class FileMatch
private Scanner inTransaction;
private Scanner inOldMaster;
private Formatter outNewMaster;
private Formatter theLog;
// enable user to open file
public void openTransFile()
try
inTransaction = new Scanner(new File("trans.txt"));
} // end try
catch (FileNotFoundException fileNotFoundException)
System.err.println("Error opening file.");
System.exit(1);
} // end catch
} // end method openTransFile
// enable user to open file
public void openOldMastFile()
try
inOldMaster = new Scanner(new File("oldmast.txt"));
} // end try
catch (FileNotFoundException fileNotFoundException)
System.err.println("Error opening file.");
System.exit(1);
} // end catch
} // end method openOldMastFile
// enable user to open file
public void openNewMastFile()
try
outNewMaster = new Formatter("newmast.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openNewMastFile
// enable user to open file
public void openLogFile()
try
theLog = new Formatter("log.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openLogFile
// update records
public void updateRecords()
TransactionRecord transaction = new TransactionRecord();
AccountRecord account = new AccountRecord();
try // read records from file using Scanner object
System.out.println("Start file matching.");
while (inTransaction.hasNext() && inOldMaster.hasNext())
transaction.setAccount(inTransaction.nextInt()); // read account number
transaction.setAmount(inTransaction.nextDouble()); // read amount
account.setAccount(inOldMaster.nextInt()); // read account number
account.setFirstName(inOldMaster.next()); // read first name
account.setLastName(inOldMaster.next()); // read last name
account.setBalance(inOldMaster.nextDouble()); // read balance
if (transaction.getAccount() == account.getAccount())
while (inTransaction.hasNext() && transaction.getAccount() == account.getAccount())
account.combine(transaction);
outNewMaster.format("%d %s %s %.2f\n",
account.getAccount(), account.getFirstName(), account.getLastName(),
account.getBalance());
transaction.setAccount(inTransaction.nextInt()); // read account number
transaction.setAmount(inTransaction.nextDouble()); // read amount
else if (transaction.getAccount() != account.getAccount())
outNewMaster.format("%d %s %s %.2f\n",
account.getAccount(), account.getFirstName(), account.getLastName(),
account.getBalance());
theLog.format("%s%d","Unmatched transaction record for account number ",transaction.getAccount());
} // end while
System.out.println("Finish file matching.");
} // end try
catch (NoSuchElementException elementException)
System.err.println("File improperly formed.");
inTransaction.close();
inOldMaster.close();
System.exit(1);
} // end catch
catch (IllegalStateException stateException)
System.err.println("Error reading from file.");
System.exit(1);
} // end catch
} // end method updateRecords
// close file and terminate application
public void closeTransFile()
if (inTransaction != null)
inTransaction.close();
} // end method closeTransFile
// close file and terminate application
public void closeOldMastFile()
if (inOldMaster != null)
inOldMaster.close();
} // end method closeOldMastFile
// close file
public void closeNewMastFile()
if (outNewMaster != null)
outNewMaster.close();
} // end method closeNewMastFile
// close file
public void closeLogFile()
if (theLog != null)
theLog.close();
} // end method closeLogFile
} // end class FileMatch-------------------------------------------------------------------------------------------------
// Exercise 14.8: FileMatchTest.java
// Testing class FileMatch
public class FileMatchTest
// main method begins program execution
public static void main( String args[] )
FileMatch application = new FileMatch();
application.openTransFile();
application.openOldMastFile();
application.openNewMastFile();
application.openLogFile();
application.updateRecords();
application.closeLogFile();
application.closeNewMastFile();
application.closeOldMastFile();
application.closeTransFile();
} // end main
} // end class FileMatchTest-------------------------------------------------------------------------------------------------
Sample data for master file:
Master file
Account Number Name Balance
100 Alan Jones 348.17
300 Mary Smith 27.19
500 Sam Sharp 0.00
700 Suzy Green -14.22Sample data for transaction file:
Transaction file Transaction
Account Number Amount
100 27.14
300 62.11
300 83.89
400 100.56
700 80.78
700 1.53
900 82.17 -------------------------------------------------------------------------------------------------
My FileMatch class program above has bugs in it.
The correct results for the newmast.txt:
100 Alan Jones 375.31
300 Mary Smith 173.19
500 Sam Sharp 0.00
700 Suzy Green 68.09The correct results for the log.txt:
Unmatched transaction record for account number 400Unmatched transaction record for account number 900------------------------------------------------------------------------------------------------
My results for the newmast.txt:
100 Alan Jones 375.31
300 Mary Smith 111.08
500 Sam Sharp 0.00
700 Suzy Green -12.69My results for the log.txt
Unmatched transaction record for account number 700-------------------------------------------------------------------------------------------------
I am not sure what is wrong with my code above to make my results different from the correct results.
Much help is appreciated. Please help.From the output, it looks like one problem is just formatting -- apparently you're including a newline in log entries and not using tabs for the newmast output file.
As to why the numbers are off -- just from glancing over it, it appears that the problem is when you add multiple transaction values. Since account.combine() is so simple, I suspect that you're either adding creating transaction objects incorrectly or not creating them when you should be.
Create test input data that isolates a single case of this (e.g., just the Mary Smith case), and then running your program in a debugger or adding debugging code to the add/combine method, so you can see what's happening in detail.
Also I'd recommend reconsidering your design. It's a red flag if a class has a name with "Create" in it. Classes represent bundles of independant state and transformations on that state, not things to do. -
Cannot contact Apple, need help with iTunes & Registration?
1, The number provided does not work outside the US.
2, The number for Thailand doesn't work either.
Serial number: C02KJ0xxxxxxx
Technical Support says is Expired ???
3, Can can tech support be expired on a 3 day old machine?
4, Why won't it register on the website?
What a nightmare. I want to register my 3 day old computer but you say tech support has expired.
I'm in Thailand and cannot call your support number. Its the number is incorrect.
Really need some help with iTunes can someone help me? OK to pay but I really really need some support.
JasonFirst, have you moved or renamed the iTunes or iTunes Music folders, or any of the folder or track files in those folders, since iTunes last worked correctly?
-
Need help with itunes iphone update
When I try to sync my iphone 4 with ios 7 to itunes for windows, I also receive the "can't use devise...requires itunes 11.1 or higher". I am advised to download this version at itunes.com. However, when I follow the link, I am not allowed to download b/c my phone already has itunes installed on it. The download link offers no tab or lik for either updating or downloading any new software. What am I missing? BTW, my pc is updated with itunes 11.1.
Same problem here. It shows up under devices but there is no "page" for it. No tabs, music, apps, nothing.
-
I need help with iTunes. I just bought a new laptop and I have a few questions
So I just bought a new laptop and few days ago. It's an HP. I have the iPhone 4 (8GB). So all my songs from iCloud are on my phone. I want to manually put them on my phone. All of my songs, videos, pictures etc. are on my new laptop. I went to apply the changes on iTunes when I selected "Manually manage music and videos". And a message came up saying "This iPhone is synced with another iTunes library on another PC. Do you want to choose to erase this iPhone and sync with this iTunes library?" Under that it says "Erasing and syncing replaces the contents of this iPhone with the contents of this iTunes library."
So what do I do? I don't want to click sync and loose everything on my phone. I will no longer use the other comuter. I really need help.
Thank you!There are some instructions on this page for syncing to a new computer : https://discussions.apple.com/docs/DOC-3141
You should be able to copy iTunes purchased music from the phone via File > Devices > Transfer Purchases
If you still have your old computer and you haven't copied your library over form it, then there are also some methods listed on this page about how you could copy it over : http://support.apple.com/kb/HT4527 - the page refers to music, but I've used the home sharing method to copy apps, films etc between computers. -
Please I Need Help With iTunes..!!
Hi I am New In This Forum and I hope I Could Find The Help I Was Not Able To Find and Get at Apple Store / Support Dept Lots Of Times I Call Them Over The The Phone I Am Not Kidding When Say Probably 10-15 Times, Plus The Times I Went Ahead To One Nearest Apple Store To My House For The Same and The Only Unique Problem That I Been Complaining For The Last 6-8 Months....Error Messages Like This >> iTunes : ERROR REQ Could Not Be Completed, Item You've Requested Is Not Currently Available In The U.S Store...!!! I Really Don't Understand it what Happen I Was Using Before For Years, I Have Like 5,000 Songs and Videos, Movies, Pictures etc, I Mean I Was Able To Use it, I Can't Not Even Have Access To Login To My Account at All Either..and APPLE STORE, They Just Told Sorry They Don't Know What's Wrong With it Don't Know How To Help Me..
My INFO IS: MacBook Pro 2010-2011
MAC OS X
VERSION: 10.8.2
PROCESSOR: 2.4 GHz INTEL CORE 2DUO
MEMORY: 4 GB 1867 MHz DDR8
STARUP DISK: MACINTASH HD
I Really Hope There's Someone Who Might Be Able To Help Me Out, To Resolve This Issue Or I am Going To Be Go Crazy About This Issue With iTunes...The Matters is That For Therapy I Really Need My Music and Its Not a Joke Music Its My Therapy Some How...Long Story...
Once Again Thank You. God Bless You All
Irene/[email protected]Windows doesn't detect iPhone: http://support.apple.com/kb/ts1538
-
I need help with itunes for windows 7.
wondering if any one can help? i am running windows 7 and i recently had trouble with itunes it used to open and work, when i recieved my new iphone itunes decided not to open any more i tried un-install and re-install and it didnt work i reset my laptop back to its factory settings and re-installed itunes it worked for that day then went wrong again. i have tried doing apple software update and it comes up with error and some numbers followed by cc. if i try and re-install itunes it says invalid right to use bonjour.
any help? thanksI have absolutely no idea who Ari is
It appears you do not know how to use this forum
To reply back to Ari, you should have done that on the same thread so that he can see it
Yes, you can call Apple if you are willing to pay for it
Allan -
Need help with Itunes Authorization issue
I've been a Itunes/Ipod user for a couple years. During that time, I've sure spent over $500.00 on Itunes music from the Itunes store for my Ipod. My daugter and I both have Ipods.. There have only been 2 machines with Itunes installed here but I occasionally rebuild my computers to have the latest and greatest hardware for my business.. The other day I backed up all my music and data before rebuilding my machine due to hardware upgrades. Everything went smoothly including importing my purchased music back into Itunes.. The problem is I can't listen to it now. When I try to double click a song I get an error that says "You have already authorized 5 computers with this account. To authorize this computer you must first deauthorize one of the other computers" This isn't possible because the computers aren't around anymore to deauthorize. They were all housed (except 1, my daughters pc) in the same case as I have now.. Please respond...
The other day I backed up all my music and data before rebuilding my machine due to hardware upgrades.
okay. you may have ended up with multiple authorisations on that PC due to the system changes. if so the following documents should be of some help with techniques for freeing up authorisations:
One computer using multiple iTunes Music Store authorizations
About iTunes Store authorization and deauthorization -
Need help with ITUNES please!!
Both my husband and I have one. The problem is I cant figure out how to sync mine without having his songs added. And he doesnt want my songs either of course. I thought I could make a folder with just my songs but I cant get them copied over there. Can someone please help me step by step???
Create a new playlist (File -> New playlist).
Put the music you want into this playlist.
Select your iPod in iTunes.
Click teh Music tab.
Tick Sync music and pick Selected playlists in teh dropdown.
Tick the playlist you just created and any other you want on the iPod.
Or create a new user on the computer and use your own library. -
New laptop need help with itunes.
okay so i got a new laptop for xmas and i want to transfer my songs from my old desktop to my laptop. is there a way i can load my ipod onto my laptop and use that to transfer songs.
my friend said that when i plug in my ipod to my blank itunes it will erase my songs. is there a way to download my songs to my laptop from my ipod?
i really need help!
THanks for the help.
xo kaiit
windows dell Windows XPYour friend is right. the iPod cannot be used to update iTunes. I had the same problem about a year ago, and I just transferred each song using my jumpdrive. It's painstakingly boring, but it will work without wiping anything clean.
-
Help me.
Hi,
Purchasing match will not solve your problem. Your music needs to be in your iTunes library on your computer. Read this https://discussions.apple.com/docs/DOC-3991
Jim -
My iphone will not sync music, I have done it many times before , there is 4,6 GB space it just remains stuck at step 6 of 6 for over an hour, any ideas what is wrong?
You may need to do a Restart or Reset
http://support.apple.com/kb/ht1430 -
Need help with Itunes problem not being able to put custom made ringtone on iphone 4s.
My iphone 4s is running iOS7. My windows laptop is running the latest version of itunes, i follow instructions everywhere to get the ringtone i made onto my cellphone and i get stuck where it says to go to the apps tab and then scroll down till you see the apps you have and choose the app that you made the ringtone with. Well when i select apps it just goes to the app store, it doesn't do anything else. How in the world do i get that to come up so i can move the ringtone from the app to my phone??? please help!
Although WAV files have the same audio coding as an audio CD, a disc full of WAV files does not act like an audio CD; it lacks the indexing and ToC needed in order for a "regular" CD player to play it. As Diane notes, put your WAV files in an iTunes playlist and burn it as an *audio CD.*
-
I have recently purchased a new computer (Windows 8) and have downloaded itunes. However i cant seem to get my computer to recognised or even detect my iphone. My old laptop is broken so i cant access that. I have entered in my apple id and tried home sharing but that has done anything.
Id there any way i can make my new computer my main itunes account??
Any help would be very much appreciated.Windows doesn't detect iPhone: http://support.apple.com/kb/ts1538
Maybe you are looking for
-
CC Updater fails ... again
Start from a clean power off situation and I am notified an update to CC is available. Click, get a message to "Connect to the internet and retry". But wait, I am connected to the internet. My emails have downloaded, my browser is up and showing me t
-
Removing Songs from IPOD video
I loaded a bunch of holiday music on my iPod, but now I don't know how to remove the songs from the iPod without removing them from iTunes.
-
How to show madatory fields on form that uses a view?
Hello everyone, I am using a view to create a form. After I have created the form I modified a column in one of the tables so that it is not null. Now that I have already created a form how can I show that it is mandatory.I know that APEX does this a
-
How to use AS's "make new" command in Scripting Bridge?
Anybody know how to rewrite this line of Applescript in Cocoa using the Scripting Bridge? tell application "iTunes" to make new playlist with properties {name:"Some Name"} I'd hate to have to embed AS into my app just for this thing. Is there maybe s
-
Intersection type confusion (or javac or JLS error?)
I am confused about what methods are available for a type parameter with multiple bounds. Consider the slightly modified version of the jls [url http://java.sun.com/docs/books/jls/third_edition/html/typesValues.html#120149]discussion on type variabl