# PARCEL_MEDIA_COMMAND_LOOP_SET

*LSL constant*

```lsl
integer PARCEL_MEDIA_COMMAND_LOOP_SET = 13;
```

Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel's media looping variable or loop duration (which may have functionality limitations; see VWR-19712).

Constant groups: [ParcelMediaCommand](/constants/groups/ParcelMediaCommand/), [ParcelMediaQuery](/constants/groups/ParcelMediaQuery/)

Use this to get or set the parcel's media loop duration. It may not be functional. See [VWR-19712](https://jira.secondlife.com/browse/VWR-19712) for detail.

## See also

### Constants

|

<table>
	<tr>
		<th></th>
		<th>Constant</th>
		<th>Parameter</th>
		<th>Description</th>
	</tr>
	<tr>
		<td>0</td>
		<td colspan="2">[PARCEL_MEDIA_COMMAND_STOP](/constants/PARCEL_MEDIA_COMMAND_STOP/)</td>
		<td></td>
		<td>Stop the media stream and go back to the first frame.</td>
	</tr>
	<tr>
		<td>1</td>
		<td colspan="2">[PARCEL_MEDIA_COMMAND_PAUSE](/constants/PARCEL_MEDIA_COMMAND_PAUSE/)</td>
		<td></td>
		<td>Pause the media stream (stop playing but stay on current frame).</td>
	</tr>
	<tr>
		<td>2</td>
		<td colspan="2">[PARCEL_MEDIA_COMMAND_PLAY](/constants/PARCEL_MEDIA_COMMAND_PLAY/)</td>
		<td></td>
		<td>Start the media stream playing from the current frame and stop when the end is reached.</td>
	</tr>
	<tr>
		<td>3</td>
		<td colspan="2">[PARCEL_MEDIA_COMMAND_LOOP](/constants/PARCEL_MEDIA_COMMAND_LOOP/)</td>
		<td></td>
		<td>Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue.</td>
	</tr>
	<tr>
		<td>4</td>
		<td>[PARCEL_MEDIA_COMMAND_TEXTURE](/constants/PARCEL_MEDIA_COMMAND_TEXTURE/)</td>
		<td>[key](https://wiki.secondlife.com/wiki/key) uuid</td>
		<td>Used to get or set the parcel's media texture.</td>
	</tr>
	<tr>
		<td>5</td>
		<td>[PARCEL_MEDIA_COMMAND_URL](/constants/PARCEL_MEDIA_COMMAND_URL/)</td>
		<td>[string](https://wiki.secondlife.com/wiki/string) url</td>
		<td>Used to get or set the parcel's media url.</td>
	</tr>
	<tr>
		<td>6</td>
		<td>[PARCEL_MEDIA_COMMAND_TIME](/constants/PARCEL_MEDIA_COMMAND_TIME/)</td>
		<td>[float](https://wiki.secondlife.com/wiki/float) time</td>
		<td>Move a media stream to a specific time in (floating point) seconds.</td>
	</tr>
	<tr>
		<td>7</td>
		<td>[PARCEL_MEDIA_COMMAND_AGENT](/constants/PARCEL_MEDIA_COMMAND_AGENT/)</td>
		<td>[key](https://wiki.secondlife.com/wiki/key) uuid</td>
		<td>Applies the media command to the specified agent only.</td>
	</tr>
	<tr>
		<td>8</td>
		<td colspan="2">[PARCEL_MEDIA_COMMAND_UNLOAD](/constants/PARCEL_MEDIA_COMMAND_UNLOAD/)</td>
		<td></td>
		<td>Used to unload the movie and restores the original texture.</td>
	</tr>
	<tr>
		<td>9</td>
		<td>[PARCEL_MEDIA_COMMAND_AUTO_ALIGN](/constants/PARCEL_MEDIA_COMMAND_AUTO_ALIGN/)</td>
		<td>[integer](https://wiki.secondlife.com/wiki/integer) boolean</td>
		<td>Used to set the parcel option 'Auto scale content'.</td>
	</tr>
	<tr>
		<td>10</td>
		<td>[PARCEL_MEDIA_COMMAND_TYPE](/constants/PARCEL_MEDIA_COMMAND_TYPE/)</td>
		<td>[string](https://wiki.secondlife.com/wiki/string) mime_type</td>
		<td>Used to get or set the parcel media MIME type (e.g. "text/html"). (1.19.1 RC0 or later)</td>
	</tr>
	<tr>
		<td>11</td>
		<td>[PARCEL_MEDIA_COMMAND_SIZE](/constants/PARCEL_MEDIA_COMMAND_SIZE/)</td>
		<td>[integer](https://wiki.secondlife.com/wiki/integer) x, [integer](https://wiki.secondlife.com/wiki/integer) y</td>
		<td>Used to get or set the parcel media pixel resolution. (1.19.1 RC0 or later)</td>
	</tr>
	<tr>
		<td>12</td>
		<td>[PARCEL_MEDIA_COMMAND_DESC](/constants/PARCEL_MEDIA_COMMAND_DESC/)</td>
		<td>[string](https://wiki.secondlife.com/wiki/string) desc</td>
		<td>Used to get or set the parcel media description. (1.19.1 RC0 or later)</td>
	</tr>
	<tr>
		<td>13</td>
		<td>[PARCEL_MEDIA_COMMAND_LOOP_SET](/constants/PARCEL_MEDIA_COMMAND_LOOP_SET/)</td>
		<td>[float](https://wiki.secondlife.com/wiki/float) loop</td>
		<td>Used to get or set the parcel's media loop duration. (1.19.1 RC0 or later)</td>
	</tr>
</table>

### Functions

- [llParcelMediaQuery](/functions/llParcelMediaQuery/)
- [llParcelMediaCommandList](/functions/llParcelMediaCommandList/)

---

*Source: [PARCEL MEDIA COMMAND LOOP SET](https://wiki.secondlife.com/wiki/PARCEL_MEDIA_COMMAND_LOOP_SET) on the Second Life Wiki. Content from the Second Life Wiki articles PARCEL MEDIA COMMAND LOOP SET (revision 935723, 2010-06-05) and Template:LSL Constants/Parcel Media (revision 935833, 2010-06-05), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/PARCEL_MEDIA_COMMAND_LOOP_SET/
