├── .gitignore ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── example │ │ └── jjr │ │ └── dlna │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── jjr │ │ │ └── dlna │ │ │ ├── MainActivity.java │ │ │ └── app │ │ │ └── MyAppication.java │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── ic_launcher_background.xml │ │ ├── selector_btn_next.xml │ │ ├── selector_btn_pause.xml │ │ ├── selector_btn_play.xml │ │ ├── selector_btn_pre.xml │ │ └── selector_volume.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_round.png │ │ ├── ic_tv.png │ │ ├── icon_pause_n.png │ │ ├── icon_pause_p.png │ │ ├── icon_play_n.PNG │ │ ├── icon_play_next_normal.png │ │ ├── icon_play_next_pressed.png │ │ ├── icon_play_p.PNG │ │ ├── icon_play_prev_normal.png │ │ ├── icon_play_prev_pressed.png │ │ ├── icon_stop.png │ │ ├── icon_volume_mute.png │ │ └── icon_volume_normal.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── example │ └── jjr │ └── dlna │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── lib-dlna ├── .gitignore ├── build.gradle ├── libs │ ├── Cling-2.1.1.jar │ ├── javax.servlet-3.0.0.v201112011016.jar │ ├── jetty-client-8.1.8.v20121106.jar │ ├── jetty-http-8.1.8.v20121106.jar │ ├── jetty-io-8.1.8.v20121106.jar │ ├── jetty-security-8.1.8.v20121106.jar │ ├── jetty-server-8.1.14.v20131031.jar │ ├── jetty-servlet-8.1.8.v20121106.jar │ ├── jetty-util-8.1.8.v20121106.jar │ ├── seamless-http-1.1.0.jar │ ├── seamless-util-1.1.0.jar │ └── seamless-xml-1.1.0.jar ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── dongao │ │ └── dlna │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── dongao │ │ │ └── dlna │ │ │ ├── DLNALibrary.java │ │ │ ├── adapter │ │ │ └── GeneralAdapter.java │ │ │ ├── moduls │ │ │ ├── avtransport │ │ │ │ ├── bll │ │ │ │ │ ├── MediaControlBiz.java │ │ │ │ │ ├── MediaEventBiz.java │ │ │ │ │ └── RealtimeUpdatePositionInfo.java │ │ │ │ ├── callback │ │ │ │ │ ├── avtransport │ │ │ │ │ │ ├── GetCurrentTransportActions.java │ │ │ │ │ │ ├── GetDeviceCapabilities.java │ │ │ │ │ │ ├── GetMediaInfo.java │ │ │ │ │ │ ├── GetPositionInfo.java │ │ │ │ │ │ ├── GetTransportInfo.java │ │ │ │ │ │ ├── Next.java │ │ │ │ │ │ ├── Pause.java │ │ │ │ │ │ ├── Play.java │ │ │ │ │ │ ├── Previous.java │ │ │ │ │ │ ├── Seek.java │ │ │ │ │ │ ├── SetAVTransportURI.java │ │ │ │ │ │ └── Stop.java │ │ │ │ │ └── renderingcontrol │ │ │ │ │ │ ├── GetMute.java │ │ │ │ │ │ ├── GetVolume.java │ │ │ │ │ │ ├── ListPresets.java │ │ │ │ │ │ ├── SelectPreset.java │ │ │ │ │ │ ├── SetMute.java │ │ │ │ │ │ └── SetVolume.java │ │ │ │ ├── constants │ │ │ │ │ ├── MediaControlWhat.java │ │ │ │ │ ├── MediaEventWhat.java │ │ │ │ │ ├── TransportState.java │ │ │ │ │ └── TransportStatus.java │ │ │ │ ├── entity │ │ │ │ │ ├── AVTransportInfo.java │ │ │ │ │ ├── MediaInfo.java │ │ │ │ │ ├── PositionInfo.java │ │ │ │ │ └── RenderingControlInfo.java │ │ │ │ └── event │ │ │ │ │ ├── AVTransportEvent.java │ │ │ │ │ └── RenderingControlEvent.java │ │ │ └── searchdevice │ │ │ │ ├── entity │ │ │ │ └── DeviceDisplay.java │ │ │ │ └── listener │ │ │ │ └── DeviceRegistryListener.java │ │ │ ├── upnp │ │ │ ├── UpnpActionCallback.java │ │ │ ├── UpnpRegistryListener.java │ │ │ ├── UpnpServiceBiz.java │ │ │ ├── UpnpSubscriptionCallback.java │ │ │ ├── constants │ │ │ │ └── HandlerWhat.java │ │ │ └── service │ │ │ │ └── UpnpDeviceService.java │ │ │ ├── utils │ │ │ └── ObjectParse.java │ │ │ └── view │ │ │ └── SelectDeviceDialog.java │ └── res │ │ ├── layout │ │ └── dlna_select_device_dialog.xml │ │ ├── mipmap-xxhdpi │ │ └── btn_nav_close.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── dongao │ └── dlna │ └── ExampleUnitTest.java └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/* 5 | .DS_Store 6 | /build 7 | /captures 8 | .externalNativeBuild 9 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 25 5 | defaultConfig { 6 | applicationId "com.example.jjr.dlna" 7 | minSdkVersion 15 8 | targetSdkVersion 25 9 | versionCode 1 10 | versionName "1.0.0" 11 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | implementation fileTree(include: ['*.jar'], dir: 'libs') 23 | implementation 'com.android.support:appcompat-v7:25.4.0' 24 | implementation 'com.android.support.constraint:constraint-layout:1.1.2' 25 | testImplementation 'junit:junit:4.12' 26 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 27 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 28 | implementation project(':lib-dlna') 29 | } 30 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/example/jjr/dlna/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.example.jjr.dlna; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.example.jjr.dlna", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/jjr/dlna/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.jjr.dlna; 2 | 3 | import android.os.Handler; 4 | import android.os.Message; 5 | import android.support.v4.app.FragmentManager; 6 | import android.support.v7.app.AppCompatActivity; 7 | import android.os.Bundle; 8 | import android.view.View; 9 | import android.widget.Button; 10 | import android.widget.ImageButton; 11 | import android.widget.ImageView; 12 | import android.widget.SeekBar; 13 | import android.widget.TextView; 14 | import android.widget.Toast; 15 | 16 | import com.dongao.dlna.DLNALibrary; 17 | import com.dongao.dlna.moduls.avtransport.bll.MediaControlBiz; 18 | import com.dongao.dlna.moduls.avtransport.bll.MediaEventBiz; 19 | import com.dongao.dlna.moduls.avtransport.bll.RealtimeUpdatePositionInfo; 20 | import com.dongao.dlna.moduls.avtransport.constants.MediaControlWhat; 21 | import com.dongao.dlna.moduls.avtransport.constants.MediaEventWhat; 22 | import com.dongao.dlna.moduls.avtransport.constants.TransportState; 23 | import com.dongao.dlna.moduls.avtransport.entity.AVTransportInfo; 24 | import com.dongao.dlna.moduls.avtransport.entity.RenderingControlInfo; 25 | import com.dongao.dlna.view.SelectDeviceDialog; 26 | 27 | import org.fourthline.cling.model.meta.Device; 28 | import org.fourthline.cling.support.model.item.Item; 29 | 30 | import java.util.HashMap; 31 | 32 | public class MainActivity extends AppCompatActivity implements View.OnClickListener { 33 | 34 | private ImageButton ibStop; 35 | protected ImageButton ibPlay; 36 | protected ImageButton ibPause; 37 | private ImageButton ibPlaypre; 38 | private ImageButton ibPlaynext; 39 | private SeekBar sbPlayback; 40 | protected TextView tvTotalTime; 41 | protected TextView tvCurrVol; 42 | private Button btnAddVol; 43 | private Button btnSubVol; 44 | private Item item; 45 | private ImageView ivMute; 46 | 47 | private Handler handler; 48 | private long mId; // item播放实例id 49 | protected MediaControlBiz controlBiz; 50 | private boolean currentMute; 51 | private MediaEventBiz eventBiz; 52 | protected int currVolume; 53 | private RealtimeUpdatePositionInfo realtimeUpdate; 54 | private TextView tvCurTime; 55 | 56 | 57 | @Override 58 | protected void onCreate(Bundle savedInstanceState) { 59 | super.onCreate(savedInstanceState); 60 | setContentView(R.layout.activity_main); 61 | handler = new Handler() { 62 | @Override 63 | public void handleMessage(Message msg) { 64 | switch (msg.what) { 65 | case MediaControlWhat.SET_AVTRANSPORT_URI: 66 | controlBiz.getVolume(); 67 | break; 68 | case MediaControlWhat.PLAY: 69 | updatePlayingState(true); 70 | break; 71 | case MediaControlWhat.PAUSE: 72 | updatePlayingState(false); 73 | break; 74 | case MediaControlWhat.STOP: 75 | updatePlayingState(false); 76 | break; 77 | case MediaControlWhat.GET_VOLUME: 78 | currVolume = msg.arg2; 79 | tvCurrVol.setText(getString(R.string.current_volume) 80 | + currVolume); 81 | break; 82 | case MediaControlWhat.SET_VOLUME: 83 | tvCurrVol.setText(getString(R.string.current_volume) 84 | + currVolume); 85 | break; 86 | case MediaControlWhat.SET_MUTE: 87 | ivMute.setSelected(currentMute); 88 | break; 89 | case MediaEventWhat.RENDERING_CONTROL: 90 | RenderingControlInfo rcInfo = (RenderingControlInfo) msg.obj; 91 | HashMap vChange = rcInfo.getValueIsChange(); 92 | if (vChange.get(RenderingControlInfo.MUTE)) { 93 | currentMute = rcInfo.isMute(); 94 | ivMute.setSelected(currentMute); 95 | } 96 | if (vChange.get(RenderingControlInfo.VOLUME)) { 97 | currVolume = rcInfo.getVolume(); 98 | tvCurrVol.setText(getString(R.string.current_volume) 99 | + currVolume); 100 | } 101 | break; 102 | case MediaEventWhat.AV_TRANSPORT: 103 | AVTransportInfo avtInfo = (AVTransportInfo) msg.obj; 104 | HashMap currStates = avtInfo.getValueIsChange(); 105 | if (currStates.get(AVTransportInfo.CURRENT_MEDIA_DURATION)) { 106 | tvTotalTime.setText(avtInfo.getCurrentMediaDuration()); 107 | } 108 | if (currStates.get(AVTransportInfo.TRANSPORT_STATE)) { 109 | String currState = avtInfo.getTransportState(); 110 | if (TransportState.PLAYING.equals(currState)) { 111 | updatePlayingState(true); 112 | } else { 113 | updatePlayingState(false); 114 | } 115 | } 116 | break; 117 | } 118 | 119 | } 120 | }; 121 | initView(); 122 | } 123 | 124 | private void initView() { 125 | ImageView iv_tv = (ImageView) findViewById(R.id.iv_tv); 126 | iv_tv.setOnClickListener(this); 127 | TextView tv_device = (TextView) findViewById(R.id.tv_device); 128 | tv_device.setOnClickListener(this); 129 | 130 | // 停止 131 | ibStop = (ImageButton) findViewById(R.id.ib_stop); 132 | // 播放 133 | ibPlay = (ImageButton) findViewById(R.id.ib_play); 134 | // 暂停 135 | ibPause = (ImageButton) findViewById(R.id.ib_pause); 136 | // 上一首 137 | ibPlaypre = (ImageButton) findViewById(R.id.ib_playpre); 138 | // 下一首 139 | ibPlaynext = (ImageButton) findViewById(R.id.ib_playnext); 140 | // 静音 141 | ivMute = (ImageView) findViewById(R.id.iv_mute); 142 | // 当前音量大小 143 | tvCurrVol = (TextView) findViewById(R.id.tv_curr_vol); 144 | // 增加音量 145 | btnAddVol = (Button) findViewById(R.id.btn_add_vol); 146 | // 降低音量 147 | btnSubVol = (Button) findViewById(R.id.btn_sub_vol); 148 | 149 | // 播放音乐的进度 150 | sbPlayback = (SeekBar) findViewById(R.id.sb_playback); 151 | // 当前播放的时间 152 | tvCurTime = (TextView) findViewById(R.id.tv_curTime); 153 | // 总时间 154 | tvTotalTime = (TextView) findViewById(R.id.tv_totalTime); 155 | 156 | ibStop.setOnClickListener(this); 157 | ibPlay.setOnClickListener(this); 158 | ibPause.setOnClickListener(this); 159 | ibPlaypre.setOnClickListener(this); 160 | ibPlaynext.setOnClickListener(this); 161 | ivMute.setOnClickListener(this); 162 | btnAddVol.setOnClickListener(this); 163 | btnSubVol.setOnClickListener(this); 164 | sbPlayback.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { 165 | 166 | @Override 167 | public void onStopTrackingTouch(SeekBar seekBar) { 168 | int prog = seekBar.getProgress(); 169 | String totalTime = tvTotalTime.getText().toString(); 170 | controlBiz.seek(totalTime, prog); 171 | } 172 | 173 | @Override 174 | public void onStartTrackingTouch(SeekBar seekBar) { 175 | } 176 | 177 | @Override 178 | public void onProgressChanged(SeekBar seekBar, int progress, 179 | boolean fromUser) { 180 | } 181 | }); 182 | } 183 | 184 | @Override 185 | public void onClick(View v) { 186 | switch (v.getId()) { 187 | case R.id.iv_tv: 188 | if (DLNALibrary.getInstance().getDeviceDisplay() != null) { 189 | Device device = DLNALibrary.getInstance().getDeviceDisplay().getDevice(); 190 | mId = 0; 191 | currentMute = false; 192 | controlBiz = new MediaControlBiz(device, handler, mId); 193 | eventBiz = new MediaEventBiz(device, handler); 194 | 195 | // 启动从DMP设备更新播放状态 196 | realtimeUpdate = new RealtimeUpdatePositionInfo(controlBiz, sbPlayback, 197 | tvCurTime, tvTotalTime); 198 | realtimeUpdate.execute(); 199 | eventBiz.addRenderingEvent(); 200 | eventBiz.addAVTransportEvent(); 201 | 202 | controlBiz.setPlayUri("http://v.dongaocloud.com/2a86/2a86/12c/7f1/237c3f651d289196ac56186047c8e70a.mp4"); 203 | } else { 204 | SelectDeviceDialog dialog = new SelectDeviceDialog(); 205 | dialog.show(getSupportFragmentManager(), "select_device_dialog"); 206 | } 207 | break; 208 | case R.id.tv_device: 209 | SelectDeviceDialog dialog = new SelectDeviceDialog(); 210 | dialog.show(getSupportFragmentManager(), "select_device_dialog"); 211 | break; 212 | case R.id.ib_stop: 213 | controlBiz.stop(); 214 | break; 215 | case R.id.ib_play: 216 | controlBiz.play(); 217 | break; 218 | case R.id.ib_pause: 219 | controlBiz.pause(); 220 | break; 221 | case R.id.ib_playpre: 222 | controlBiz.previous(); 223 | break; 224 | case R.id.ib_playnext: 225 | controlBiz.next(); 226 | break; 227 | case R.id.iv_mute: 228 | if (currentMute) { 229 | currentMute = false; 230 | } else { 231 | currentMute = true; 232 | } 233 | controlBiz.setMute(currentMute); 234 | break; 235 | case R.id.btn_add_vol: 236 | currVolume++; 237 | if (currVolume > 100) { 238 | currVolume = 100; 239 | Toast.makeText(this, "已经是最大音量了", Toast.LENGTH_SHORT).show(); 240 | return; 241 | } 242 | controlBiz.setVolume(currVolume); 243 | break; 244 | case R.id.btn_sub_vol: 245 | currVolume--; 246 | if (currVolume < 0) { 247 | currVolume = 0; 248 | Toast.makeText(this, "已经是最小音量了", Toast.LENGTH_SHORT).show(); 249 | return; 250 | } 251 | controlBiz.setVolume(currVolume); 252 | break; 253 | default: 254 | break; 255 | } 256 | } 257 | 258 | protected void updatePlayingState(boolean isPlaying) { 259 | realtimeUpdate.setPlaying(isPlaying); 260 | if (isPlaying) { 261 | ibPlay.setVisibility(View.GONE); 262 | ibPause.setVisibility(View.VISIBLE); 263 | } else { 264 | ibPlay.setVisibility(View.VISIBLE); 265 | ibPause.setVisibility(View.GONE); 266 | } 267 | } 268 | } 269 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/jjr/dlna/app/MyAppication.java: -------------------------------------------------------------------------------- 1 | package com.example.jjr.dlna.app; 2 | 3 | import android.app.Application; 4 | 5 | import com.dongao.dlna.DLNALibrary; 6 | import com.dongao.dlna.moduls.searchdevice.entity.DeviceDisplay; 7 | import com.dongao.dlna.upnp.UpnpServiceBiz; 8 | 9 | import org.fourthline.cling.support.model.item.Item; 10 | 11 | /** 12 | * @author jjr 13 | * @date 2018/6/19 14 | */ 15 | public class MyAppication extends Application { 16 | 17 | @Override 18 | public void onCreate() { 19 | super.onCreate(); 20 | DLNALibrary.getInstance().init(this); 21 | } 22 | 23 | @Override 24 | public void onTerminate() { 25 | UpnpServiceBiz.newInstance().closeUpnpService(this); 26 | super.onTerminate(); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 12 | 13 | 19 | 22 | 25 | 26 | 27 | 28 | 34 | 35 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 11 | 16 | 21 | 26 | 31 | 36 | 41 | 46 | 51 | 56 | 61 | 66 | 71 | 76 | 81 | 86 | 91 | 96 | 101 | 106 | 111 | 116 | 121 | 126 | 131 | 136 | 141 | 146 | 151 | 156 | 161 | 166 | 171 | 172 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_btn_next.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_btn_pause.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_btn_play.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_btn_pre.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_volume.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 15 | 16 | 22 | 23 | 27 | 28 | 36 | 37 | 38 | 39 | 44 | 45 | 51 | 52 | 58 | 59 | 66 | 67 | 72 | 73 | 79 | 80 | 86 | 87 | 88 | 89 | 94 | 95 | 105 | 106 | 115 | 116 | 125 | 126 | 139 | 140 | 141 | 142 | 147 | 148 | 155 | 156 | 164 | 165 |