Is there an easy way to count the number of albums I have in my library?

Hi, there is probably a very easy way to find out how many albums I have in my iTunes library - but I haven't discovered it yet! (looking for something a bit like word count in MS Word document?)
Powerbook G4 15 1.67   Mac OS X (10.4.3)   my first Mac - where have I been!?!

Click on the Library icon in the source list Go Edit->Show Browser.
This will split the library window into subwindows listing each genre, artist and album, at the top of these windows it will show the total for each of these categories.
Apart from being the easiest way to count your albums, it's also a really useful way to view the library or any playlist. You can turn off the genre subwindow through the general preferences.
Hope that helps!
Sara.

Similar Messages

  • If I've downloaded my music to an itunes library from an external hard drive and I have several duplicate songs, is there an easy way to delete the duplicate songs? Or, do I have to go through my entire library song by song to delete duplicates?

    If I've downloaded my music to an itunes library from an external hard drive and I have several duplicate songs, is there an easy way to delete the duplicate songs? Or, do I have to go through my entire library song by song to delete duplicates?

    In iTunes, File>Display Duplicates

  • A quick way to count the number of  newlines '/n' in string of 200 chars

    I am trying to establish the number of lines that a string will generate.
    I can do this by counting the number of '/n' in the string. However my brute force method (shown below) is very slow.
    Normally this would not be a problem on a 2800mhz Athlon (Standard) PC this takes < 1 second. However this code resides within a speed critical loop (not shown). The code shown below is a Achilles heal as far as the performance of this speed critical loop goes.
    Can anyone suggest a faster way to count the number of �/n� (new lines) within a text string of around 50- 1000 chars, given that there may be 10 � 100 newline chars. Speed is a very important factor for this part of my program.
    Thanks in advance
    Andrew.
        int lineCount =0;
        String txt = this.getText();
        //loop throught text and count the carridge returns
        for (int i = 0; i < txt.length(); i++)
          char ch = txt.charAt(i);
          if (ch == '\n')
           lineCount ++;
        }//end forMessage was edited by:
    scottie_uk
    Message was edited by:
    scottie_uk

    Well, here is a C version. On my computer the Java version (reply 9 above) is slightly faster than C. YMMV. For stuff like this a compiler can be hard to beat even with assembler, as you need to do manual loop unrolling and method inlining which turn assembly into a maintenance nightmare.
    // gcc -O6 -fomit-frame-pointer -funroll-loops -finline -o newlines.exe newlines.c
    #include <stdio.h>
    #include <string.h>
    #if defined(__GNUC__) || defined(__unix__)
    #include <time.h>
    #include <sys/time.h>
    #else
    #include <windows.h>
    #endif
    #if defined(__GNUC__) || defined(__unix__)
    typedef struct timeval TIMESTAMP;
    void currentTime(struct timeval *time)
        gettimeofday(time, NULL);
    int milliseconds(struct timeval *start, struct timeval *end)
        int usec = (end->tv_sec - start->tv_sec) * 1000000 +
         end->tv_usec - start->tv_usec;
        return (usec + 500) / 1000;
    #else
    typedef FILETIME TIMESTAMP;
    void currentTime(FILETIME *time)
        GetSystemTimeAsFileTime(time);
    int milliseconds(FILETIME *start, FILETIME *end)
        int usec = (end->dwHighDateTime - start->dwHighDateTime) * 1000000L +
         end->dwLowDateTime - start->dwLowDateTime;
        return (usec + 500) / 1000;
    #endif
    static int count(register char *txt)
        register int count = 0;
        register int c;
        while (c = *txt++)
         if (c == '\n')
             count++;
        return count;
    static void doit(char *str)
        TIMESTAMP start, end;
        long time;
        register int n;
        int total = 0;
        currentTime(&start);
        for (n = 0; n < 1000000; n++)
         total += count(str);
        currentTime(&end);
        time = milliseconds(&start, &end);
        total *= 4;
        printf("time %ld, total %d\n", time, total);
        fflush(stdout);
    int main(int argc, char **argv)
        char buf[1024];
        int n;
        for (n = 0; n < 256 / 4; n++)
         strcat(buf, "abc\n");
        for (n = 0; n < 5; n++)
         doit(buf);
    }

  • I there an easy way to delete photes from my iphone I have them all saved to iphoto

    is there an easy way to delete photes from my iphone I have them all saved to iphoto

    Photos in your camera roll? If so, launch Image Capture from your applications folder, connect your phone, highlight all the photos you want to delete, hit the delete key.

  • Is there an easy way to clear the contents of Download Folder?

    Is there an easier way to clear out files (send to trash) from the downloads folder, other than dragging one by one? The downloads folder closes immediately upon dragging one file out.

    You do not need to invoke Finder to do this. Create a new empty Automator workflow and use the "Run Shell Script" option. Paste in the following....
    mv ~/Downloads/* ~/.Trash
    You can then save the workflow as an application, attach it as a Finder action or add it to the scripts menu, whichever you like better.
    If you would like to bypass the Trash and just completely delete the Downloads folder contents immediately, then paste in this command:
    rm -rf ~/Downloads/*

  • HT1660 is there an easy way to delete the whole itunes library and and start again. I notice there is only an add file/folder button but no remove facility

    I recently upgraded to the iphone 5 and managed to sort the transition out with little trouble but noticed when I tried to put my music on that Itunes has messed with album info and either it or me has generated several copies of the same albums over the years and it makes it quite dificult to sort it all out before reloading on the phone. To stop the chaos I had hoped to clear the library and start again but cant find a way to do it. I was hoping to sort all my music out in original files and consolidate them into a proper folder. HOw do I do this. I notice there is an add fole and folder button but no take away??? is there an easy way?

    Use Shift > View > Show Exact Duplicate Items as this is normally a more useful selection. You need to manually select all but one of each group to remove. If you have multiple references to the same files then don't send to the recycle bin. Use my DeDuper script if you don't want to do it by hand. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • Is there no easy way to change the computer that an iPhone is synched with?

    I have my iPhone 4 synched to an old Power Mac.  I just bought a new Macbook and want to transfer my iPhone info to this new computer so I can synch and update software from this new computer.  I am getting rid of the Power Mac.  Is there no easy way to do this?  I can't seem to figure it out.  I don't want to lose my info or iTunes library.  Apple is usually so intuitive, but this seems to be incredible complicated.  Any ideas?

    This link says "If you have photos that were synced to your phone or music ripped on your own that were not backed up, you will first have to extract them from your phone using third party software, before you do anything else, as Apple makes no provision to do so".  I don't understand.  Isn't it ALL synched to my iPhone?  Isn't that why it's ON my iPhone?  This is absurdly confusing.

  • I accidentally synced my husbands phone to mine through Itunes.  Is there an easy way to undo the sync?

    I accidentaly synced my husbands phone to mine through itunes.  Is there an easy way to undo this?

    Wouldn't I lose my information then?

  • Is there a way to count the number of times an array moves from positive to negative?

    I have an array of values, and I need to find the number of times that the array changes signs (from positive to negative, or vice versa). In other words from a graphical standpoint, how many times a certain line crosses the x-axis. Counting the number of times the array equals zero does not help however, because the array does not always equal exactly zero when it crosses the axis (ie, the points could move from .1 to -.1).
    Thanks for you help. Feel free to email me at [email protected] I only have lv 5.1.1 so if you attach any files, they cannot be version 6.0.

    Attached is a VI showing the # of Pos and Neg numbers in an array, with 0 considered as non-Pos. It is easily modifiable to other parameters - including using the X-axis value as your compare point versus only Zero.
    This is a modified VI from LV (Separate Array.vi)
    Compare this with your other responses to find the best fit.
    Doug
    Attachments:
    arraysizesposneg.vi ‏40 KB

  • I want to know if there is a way to change the number of...

    is there any way to change the number of pages that appear when you hit the history button? I would like to see fifty or one hundred instead of just fifteen. so I don't have to take the extra steps and time to move ahead and then choose today for example.

    Bhalerion wrote:
    I wonder wheteher Apple can track the device, given the model and the serial number that identifies it?
    No. Apple has no way of doing that.
    If you configured your iPad with a password, its contents will remain completely inaccessible and secure. To be useful, the iPad will need to be erased first, but there is no way for you to prevent someone from doing that.
    If you had enabled Find my iPad in Settings > iCloud prior to giving it to someone, you can locate it using iCloud. However, that will no longer be an option once that someone erases it.

  • Fastest way to count the number of occurences of string in file

    I have an application that will process a number of records in a plain text file, and the processing takes a long time. Therefore, I'd like to first calculate the number of records in the file so that I can display a progress dialog to the user (e.g. " 1234 out of 5678 records processed"). The records are separated by the string "//" followed by a newline, so all I need to do to get the number of records is to count the number of times that '//' occurs in the file. What's the quickest way to do this? On a test file of ~1.5 Gb with ~500 000 records, grep manages under 5 seconds, whereas a naive Java approach:
    BufferedReader bout = new BufferedReader (new FileReader (sourcefile));
                   String ffline = null;
                   int lcnt = 0;
                   int searchCount = 0;
                   while ((ffline = bout.readLine()) != null) {
                        lcnt++;
                        for(int searchIndex=0;searchIndex<ffline.length();) {
                             int index=ffline.indexOf(searchFor,searchIndex);
                             if(index!=-1) {
                                  //System.out.println("Line number " + lcnt);
                                  searchCount++;
                                  searchIndex+=index+searchLength;
                             } else {
                                  break;
                   }takes about 10 times as long:
    martin@martin-laptop:~$ time grep -c '//' Desktop/moresequences.gb
    544064
    real     0m4.449s
    user     0m3.880s
    sys     0m0.544s
    martin@martin-laptop:~$ time java WordCounter Desktop/moresequences.gb
    SearchCount = 544064
    real     0m42.719s
    user     0m40.843s
    sys     0m1.232sI suspect that dealing with the file as a whole, rather than line-by-line, might be quicker, based on previous experience with Perl.

    Reading lines is very slow. If your file has single byte character encoding then use something like the KMP algorithm on an BufferedInputStream to find the byte sequence of "//\n".getBytes(). If the file has a multi-byte encoding then use the KMP algorithm on a BufferedReader to find the chars "//\n".getCharacters() .
    The basis for this can be found in reply #12 of http://forum.java.sun.com/thread.jspa?threadID=769325&messageID=4386201 .
    Edited by: sabre150 on May 2, 2008 2:10 PM

  • Is there a way to count the number of chars in a formatted text box?

    I have a formatted text box in my web dynpro for comments pertaining to workflow.
    in the backend, this is mapped to a char200 field.
    is there a way to have a running counter to let the user know how many chars are left? I'm not sure if there's an event to use for that.
    thanks,
    robert.

    Hello Robert,
    There is no way to get a running total of characters typed by the user - if you really need this functionality - consider creating an Adobe Flash Island.
    There was in the last year another thread which covered pretty much the same theme - it could be worth looking at that - although you will find that the eventual solution is the same as I suggest above.

  • Is there any easy way to move the cursor in a plot by just a mouse click?

    Right now I have to click at the cursor and drag it to the right position. I was wondering if there is an easy way to just do the mouse click to change the cursor (not dragging the cursor). I have only one cursor in the graph.

    Assuming that if you click the cursor that you want it to always move to the same position, I think that you could do what you want by calling the cursor's SetPosition method in the graph's CursorMouseDown event.
    - Elton

  • Interactive report - Is there an easy way to expand the width of a column to allow for more data on a line.

    Example.
    One of the columns in my interactive report is labelled Notes.
    The data in the column looks like
    I really
    enjoy
    typing up
    notes,
    please
    disregard
    Is there any way to get this note all on one line - or atleast expand the width to increase or decrease the number of characters per line.
    So either
    I really enjoy typing up notes, please disregard
    Or
    I really enjoy typing up notes,
    please disregard
    Thanks in advance.

    Hi Mikez,
    You can also consider to render your "Notes"-column as a textarea, eg:
    http://apex.oracle.com/pls/apex/f?p=vincentdeelen:23:
    For the text area you can define the default number of rows and column width you want. You render a column as text area with an apex_item function:
    select apex_item.textarea(3,NOTES,1,80) from MY_TABLE
    Where 3 is the index number that you want your NOTES colum to have and 1 and 80 stand for row and column width respectively. When you use apex_item for a column, make sure to set that column as "Standard Report Column" under "Report Attributes".
    More info on apex_item:
    Oracle Application Express APIs
    Regards,
    Vincent Deelen

  • Is there an easier way to strip the video to leave just the audio in a clip?

    A friend asked me how to remove the video so as just to leave the audio in a clip.
    She said she had tried detaching and expanding the video, but even though she selected just the video, whenever she hit the delete/backspace  key everything disappeared.
    I couldn't find a way of doing it but suggested the old trick of simply exporting the clip as  audio only.
    It seems a bit convoluted so is there a quicker way?

    I have just realised that this is not quite the solution I thought it was.
    The gap is almost like an invisible clip which prevents anything being added to the timeline above the audio.
    Yes, you can attach another clip above the timeline but it's not exactly elegant.
    It appears that the only way to get rid of the video to leave an uncompromised audio clip is to Share>Audio Only and re-import.

Maybe you are looking for

  • Mac Book Pro locks up after initial boot-up

    I have a late 2011 Mac Book Pro, 2.4 GHz running OS X 10.9.2.  During normal operations I am typically using  4-5 GB of RAM.  I have a 750 GB hard drive with 671 GB of free drive space.  After a normal boot-up the computer completely locks-up/freezes

  • Order By clause in Oracle

    Hello, Sorry I am posting it for the second time In Oracle , the order by clause does not return the expected query result, if any of the field value in the order by clause has an empty string. Oracle treats the empty string as null value and ORDER B

  • How can I enforce Parental Controls on a group of network users on an Open Directory client?

    I have a Mac mini running OS X Server (Mountain Lion) and have a client family iMac that is a client of the Open Directory server. I have created network users for my kids and put them into a group and created Parental Control restrictions that apply

  • Need to setup Oracle 10g Sandbox for Class

    Hello all, This is the first time I am teaching a class on Oracle 10g. I would like some advice on how to do the initial setup of the database. I have 14 students in my class. I want to create each of them an account and I want each of them to be abl

  • Problem with Desktop InnerPage(Deleted).

    Hi all, One my team member deleted desktop innerpage from default frameworkpage. They deleted from source object, so it deleted from child   frameworkpage page too. Now I have to restore the desktop innepage. Is there any way. Regards Keerthi