# Indstil &kplayer;

Som andre &kde;-programmer er &kplayer; meget indstilleligt. Når du installerer &kplayer; og dets multimedieafspillende baggrundsprogram &mplayer;, skulle standardindstillingerne gøre det muligt at afspille multimedieindhold uden yderligere indstilling. Dette kapitel beskriver måder at få &kplayer;s brugergrænseflade til bedst at passe til din smag og at indstille mediaafspilning for optimal kvalitet og ydelse.

## User interface

Når &kplayer; først installeres, indeholder dets vindue en menulinje, en hovedværktøjslinje, en værktøjslinje for spillelisten og en statuslinje. Desuden vises sædvanligvis en fremgangsværktøjslinje når du begynder at afspille en fil.

I menuen Indstillinger finder du tilvalg til at skjule værktøjslinjer som du ikke behøver og til at vise øvrige tilgængelige værktøjslinjer. Visse er kun tilgængelige for videofiler, mens fremgangsværktøjslinjen er tilgængelig når &kplayer; kan detektere den nuværende fils tidslængde.

Menulinjen selv kan vises eller skjules med genvejstastekombinationen &Ctrl;M. Du kan også skjule statuslinjen hvis du ikke behøver informationen den viser.

To show or hide the multimedia library, press &Ctrl;L or choose Settings Show Library. To show or hide the message log detailing internal operation of &mplayer; backend as well as &kde; I/O Slaves, press &Ctrl;G or choose Settings Show Message Log.

Hver værktøjslinje har et lille område ved en af kanterne hvor du kan trykke og holde venstre museknap nede for at trække værktøjslinjen til en ny position. De fleste værktøjslinjer kan enten placeres vandret længst oppe eller længst nede i &kplayer;s vindue, eller lodret til venstre eller til højre for det, mens spillelistens værktøjslinje kun kan placeres vandret.

Similarly, you can move around the multimedia library and the message log by pressing and holding the &LMB; on the title area of the window and dragging it above or below the video area and positioning it in relation to the toolbars.

Hvis du højreklikker på en værktøjslinje, får du en menu om at indstille den. Du kan vælge værktøjslinjens orientering, tekstposition og ikonstørrelse.

&kplayer; husker naturligvis alle indstillinger du vælger og positionerne hvor du placerer dine værktøjslinjer. Det husker synlighedsindstillingerne for fuldskærmstilstand og for normal tilstand separat.

## Spilleliste

&kplayer;'s playlist toolbar has a drop down box that shows the current playlist. It stores files and streams that have been played or are going to be played and lets you easily switch to a different item and play it. For details on the playlist feature see the Playlist micro-HOWTO. Following is a description of options that affect the playlist behavior.

- Loop option is available from the Player menu, the playlist toolbar and the playlist popup menu. When enabled, it makes &kplayer; start playing items from the beginning of the list after it finishes playing the last item on the list.

- Shuffle option is also available from the Player menu, the playlist toolbar and the playlist popup menu. When enabled, it makes &kplayer; play items in a random order. When the Loop option is also enabled, items will be reshuffled every time &kplayer; restarts playback from the top of the list. To reshuffle immediately, disable the Shuffle option and then enable it again.

- Allow duplicate entries on playlists option is available on the General page of the &kplayer; Configuration dialog. When enabled, it allows &kplayer; to put identical entries on the playlist. By default it is disabled, and if you queue the same file twice, the old entry will be removed before adding the new one at the bottom of the playlist.

The Edit command opens the current playlist in the multimedia library where you can add new items and remove or change the order of existing ones. It is available from the playlist popup menu that you can open by right clicking the playlist drop down box on the playlist toolbar.

To save the current playlist in the Playlists section of the multimedia library, right click the playlist drop down box on the playlist toolbar, select Add to Playlists... and enter a playlist name. The new playlist will then be added to each menu that works on playlists. See the multimedia library configuration for details.

## Multimedia library

&kplayer;'s multimedia library is the place to access all your multimedia and arrange it into playlists. The things you create in the library affect other parts of &kplayer;, in particular some menus and the current playlist. For details on the multimedia library feature see the Multimedia library micro-HOWTO.

### Now Playing

This section shows the contents of the current playlist and lets you modify it, for example by adding new files, streams and directories, removing existing items or changing their order. The changes are reflected on the current playlist shown on the playlist toolbar. The commands to modify the playlist contents are available from the Library menu or the library right click menu.

### Recent

This section shows the recently played files and streams and lets you modify the list. The top few entries are shown on the Play Recent submenu of the File menu and right click popup menus.

The Maximum Recent entries in the library option on the General page of the &kplayer; Configuration dialog gives the maximum number of files, folders and streams the Recent section can hold. When a new entry is added and the total number of entries exceeds this number, the bottom entry is removed from the list.

The Maximum entries on Play Recent menu option on the same page of the global settings gives the maximum number of commands the Play Recent submenus can have. When a new entry is added and the total number of entries exceeds this number, the last entry is removed from the menus.

### Playlists

This section stores the playlists you create and lets you add new playlists and change or remove the existing ones. You can also add new playlists by selecting files, folders or streams elsewhere in the multimedia library, right clicking the selection and choosing Add to New Playlist... from the popup menu. Right clicking a folder and choosing Add to Playlists will also add the folder to the list of playlists.

Play List submenu on the File menu and Add to submenu on the Library menu as well as their equivalents on popup menus each have a list of commands to either play a playlist or add new content to it. Each playlist in this section has its own command on each of those menus. When you add, remove or rename a playlist, the menus are updated to reflect the changes.

The Maximum entries on playlist menus option on the General page of the &kplayer; Configuration dialog gives the maximum number of playlists that will be included on the submenus that work on playlists.

### Devices

This section lists the disk and tuner devices available on your system as well as the CD tracks and DVD titles found on the disks you insert into the disk devices and the channels available on the tuner devices. &kplayer; puts any devices it finds on this list, and you can add new devices or remove existing ones.

The File menu and some of the right click popup menus have submenus that let you easily access and play multimedia available on these devices. Each device from this section has its own submenu. When you add, remove or rename a device, the menus are updated to reflect the changes.

When &kplayer; finds titles on a DVD disk or tracks on a CD disk, it updates the corresponding menu to include commands to play the individual titles or tracks. &kplayer; looks for titles and tracks when you insert a disk into a drive or when you select Play Disk or Load Disk command for a disk device that does not yet have any titles or tracks listed.

Similarly, when you change the channel list for a tuner device, &kplayer; updates the corresponding menu to include commands to play each of the available channels. The option to change the channel list is on the General page of the device properties dialog that you can open by selecting the device in the multimedia library and choosing the Properties... command from the Library menu or the right click popup menu.

To add a new device, select the Devices node and choose Add Device... command from the Library menu or the right click popup menu. This will bring up a dialog box as shown below.

Add device dialog

Enter a unique descriptive name for the device into the Name field and the path to the device node under the `/dev` directory into the Path field. Select the device type from the Type drop down box. For a tuner device you will need to choose a channel list, and for TV device also an input driver. Click the OK button to add the device to the multimedia library and to the File menu and various popup menus.

There are many more device specific options that you can see and change in the device properties dialog. To open it, select the device in the multimedia library and choose the Properties... command from the Library menu or the right click popup menu. For more information on disk and tuner device support in &kplayer; see the Devices micro-HOWTO.

### List view

There are several ways you can customize the list view where the library shows the multimedia found in the folder you select from the tree view.

The Columns submenu of the Library menu and the library popup menu allows you to choose what columns to show in the list view. Each available column has a command on this submenu that either shows or hides that column. What columns are available depends on the folder selected in the tree view and on its contents.

To change the order of columns in the list view, click and drag a column header with the &LMB;. However, the Name always has to be the first column. To change the width of a column, click and drag the divider on the right side of the column header.

To change the sorting order of items in the list view, left click the header of the column you want to sort by. To sort in the reverse order, click the same header again. The new sorting order will apply to all folders in the multimedia library, except for playlist folders with a custom order of items.

## Genveje

For at ændre opsætningen af genvejstaster som bruges af &kplayer;, vælges Indstillinger Indstil genveje.... Det åbner en dialog som vises nedenfor.

Indstillingsdialogen for genvejstaster

Hvis du ændrer tastebindinger, så sørg for at du ikke duplikerer en eksisterende genvej og desuden at du ikke bruger &Shift;-tasten til de nye genveje, eftersom &Shift;-tasten har en specialfunktion i &kplayer;.

Gennemsøg listen for at finde handlingen som du vil tilføje eller ændre genvejstaster for og markere den ved at venstreklikke på navnet. Derefter vil du kunne ændre genvejstast ved at vælge tilvalgknapperne Ingen, Standard eller Egen, eller ved at klikke på den store knap i området Genvej for valgt handling. Dialogen Indstil genvej vises så.

Dialogen Indstil genvej

Vælg om du vil ændre Primær eller Alternativ genvejstast, tryk derefter på tasten eller tastekombinationen som du vil skal fungere som genvej. Hvis feltet Luk automatisk er markeret, forsvinder dialogen så snart du har skrevet tastekombinationen, ellers forbliver den åben til du trykker på O.k. eller Annullér. Ved at klikke på den lille sorte ikon med et hvidt kryds ryddes genvejen.

### Brugerdefinerede menuer

Du kan tilføje din egen sammenhængsafhængige menu i &kplayer; så menuen vises ved at trykke på en tastekombination, og et tilvalg derefter kan vælges fra den ved at trykke på en anden tast, eller ved at bruge tasterne pil opad og pil nedad og trykke på returtasten.

For at gøre dette, tilføjes en Egen genvej for hver af handlingerne som du vil skal vises i menuen og marker feltet Flertasttilstand i dialogen Indstil genvej, tryk på tastekombinationen som du vil skal vise den nye menu, og tryk derefter separat på tasten som vil vælge tilvalget i menuen.

## Værktøjslinjer

### Toolbar style and position

The toolbar popup menu has several options to change the toolbar appearance. To display this menu, right click the toolbar for which you want to change the options.

The Orientation submenu contains options to place the toolbar at the Top, Bottom, Left or Right side of the &kplayer; window. You can also click and drag the toolbar by the handle on its left border with the &LMB; to move it to a new position. The Floating option displays the toolbar on top of other parts of &kplayer; window. The Flat option makes the toolbar show as small lines that you need to left click to expand the toolbar.

The Text Position submenu allows you to display a description of each icon on the toolbar either underneath or alongside the icon, or display only the description instead of the icon. By default only the icon is displayed without the description.

The Icon Size submenu allows you to choose the size of the icons on the toolbar. The choices are Default, Small, Medium, Large and Huge.

### Toolbar configuration dialog

To configure &kplayer;'s toolbars, select Configure Toolbars... from the Settings menu or from the toolbar popup menu. This will open a dialog box as shown below.

Toolbar configuration dialog

The drop down list box at the top of this dialog shows the name of the selected toolbar and lets you switch to another toolbar. The Current actions list box shows the actions included on the currently selected toolbar, and the Available actions list box shows all the other actions that exist in &kplayer;.

The buttons in the middle part of the dialog let you include or exclude actions from the selected toolbar and change the order of buttons and other elements on the toolbar. The right arrow button puts the action selected in the Available actions box on the toolbar, and the left arrow button takes the action selected in the Current actions box off the toolbar. The up and down arrow buttons move the action selected in the Current actions box back and forward within the toolbar respectively.

To be included on a toolbar, an action needs an icon that will be shown on the toolbar if the action is shown as a button. Some actions already have icons, but for others you need to choose one. The Change Icon... button opens a dialog box that allows you to choose an icon for the selected action.

Change icon dialog

When the System icons option is selected, the drop down box on the right lets you select a category of system icons to choose an icon from. By default the Actions category is selected that shows the action icons in your system icon theme. If you have icons other than the system icon theme that you want to choose from, select the Other icons option and click the Browse button to open the standard dialog to find the directory where your icons are stored. The Search box lets you filter the icons by name.

## Øvrige indstillinger

&kde; er kendt som det mest fleksible og indstillelige desktopmiljø, og &kplayer; er ingen undtagelse. Foruden indstillingsvalgmulighederne som beskrives i foregående afsnit, findes der mange flere tilvalg, hvoraf de fleste er tilgængelige i &kplayer;s indstillingsdialog. Vælg Indstillinger Indstil &kplayer;... for at vise det.

The dialog is divided into several sections. Some of them affect &kplayer; behavior, including general options. The Controls section tells &kplayer; which changes it should remember globally and which ones it should store in individual file properties, and its subsections allow you to fine tune individual &kplayer; controls, including progress, volume, contrast, brightness, hue, saturation, and slider controls in general. Other sections affect options that &kplayer; uses for interaction with &mplayer; and control various aspect of multimedia playback, including video, audio, subtitles and advanced options.

Kapitlet Indstillingsdialogen giver fuldstændige detaljer om hver side og alle tilgængelige tilvalg. Desuden beskriver Vejledningen for avanceret indstilling nogen af de mere avancerede valgmuligheder mere detaljeret.

Visse yderligere tilvalg som gælder &kplayer;s hovedvindue er tilgængelige fra titellinjens sammenhængsafhængige menu som du kan vise ved at højreklikke på titellinjen eller venstreklikke på den lille knap i øverste venstre hjørne af &kplayer;s vindue eller ved at trykke på &Alt;F3.

## Fil-egenskaber

&kplayer; har en særlig funktion som lader dig vælge mange forskellige tilvalg baseret på hver fil. Tilvalgene kaldes fil-egenskaber og opbevares sammen med url'en for hver enkelt fil eller netværkssted.

Der er to måder at angive en fil-egenskab. Den enkleste måde er at holde &Shift;-tasten nede når en indstilling ændres såsom videostørrelse eller proportion, lydstyrke, videokontrast eller lysstyrke, osv. &kplayer; anvender ændringen for filen som for øjeblikket er indlæst og husker den i tilsvarende fil-egenskab. Så snart en anden fil indlæses går indstillingen tilbage til hvad den var inden ændringen (hvis ikke den anden fil også har samme egenskab indstillet). Når du indlæser og afspiller den første fil igen, anvender &kplayer; igen ændringen som du gjorde af indstillingen og beholder den til du indlæser en ny fil eller url.

The other way to set a file property is through the File Properties dialog. The properties in the dialog are arranged according to their function. General properties like Name, Length and others are in the General section. Properties that control the video size are in the Size section. Other sections contain properties that affect &kplayer; interaction with &mplayer; and control multimedia playback, including video, audio, subtitles and advanced properties.

Select File Properties... to open the properties of the current file or URL. You can also right click an item in the multimedia library and select the Properties... command to open the properties dialog for that item.

Kapitlet Fil-egenskaber giver fuldstændige detaljer om hver side og alle tilgængelige egenskaber. Desuden beskriver minivejledningen for filegenskaber funktionen mere detaljeret og giver nogle eksempler.