private void addSong()          //tilføjer en sang
    {


        clear();
        System.out.println("Add Song:");
        System.out.println();

        try
        {
            Scanner sc = new Scanner(System.in, "ISO-8859-1");

            System.out.print("Title: ");
            String title = sc.nextLine();

            System.out.print("Artist: ");
            String artistName = sc.nextLine();

            System.out.print("Category: ");
            String categoryName = sc.nextLine();

            System.out.print("Filename: ");
            String fileName = sc.nextLine();

            System.out.print("Duration: ");
            int duration = sc.nextInt();

            Artist a = amgr.getArtistByName(artistName);

            if (a == null)
            {
                a = amgr.addArtist(new Artist(-1, artistName));
            }

            Category c = cmgr.getCategoryByName(categoryName);
            if (c == null)
            {
                c = cmgr.addCategory(new Category(-1, categoryName));
            }

            Song song = new Song(-1, title, a, c, fileName, duration);
            song = smgr.AddSong(song);

            System.out.println();
            System.out.println("Song added with ID : " + song.getId());
        }
        catch (InputMismatchException e)
        {
            System.out.println("ERROR - Duration must be number");
        }
        catch (Exception ex)
        {
            System.out.println("ERROR - " + ex.getMessage());

        }
        pause();
    }