1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
use ;
use Duration;
/// Used throughout [`player`] to determine visual elements and populate relevant [`player::Player`] struct fields
///
/// Is also used by [`media_information`] for relevant functions
///
/// Use [`media_information::get_media_type`] to get media_type of a particular file
/// Used in ``Player::new()`` determines input
///
/// ``FilePath`` holds the path for the [`player::Player`] it is a String
///
/// ``Bytes`` holds the file information in the form of Vec<u8>
/// Configure if a transcript is outputted and displayed
///
/// ``None`` : Transcript field in Player is marked as ``None`` and there will be no advanced option to transcribe audio
///
/// ``Allow``: Transcript field in Player
///
/// ``TranscriptLabel``: Transcript field in Player and inbuilt label
///
/// ``ShowTimeStamps``: Transcript field in Player and inbuilt label with start and stop timestamps
/// Sent out for transcript Progress
///
/// ``NoProgress`` : No transcript started
///
/// ``InProgress(TranscriptionData)``: Words are being sent back
///
/// ``Reading``: Nothing is being sent back but words are being read
///
/// ``Finished``: Done with Transcription
/// Holds data produced when a file is transcribed
///
/// The ``text`` section is usually a word with a space and relevant punctuation detected
///
/// The ``time`` section is when this word has started
/// Enables the user to control the location of the model. Useful for cloud based apps
/// Functions that populate data for [`player::Player`]
///
/// Functions from this module can also be used independently (refer to function documentation if you want to use these functions)
/// Contains [`player::Player`] a struct that holds all info needed for the player to run