Skip to content

Commit

Permalink
fix more links to point new site
Browse files Browse the repository at this point in the history
  • Loading branch information
immadisairaj committed Feb 27, 2022
1 parent 5c44a5d commit c4f5cd0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Sai Voice is an audio app that streams audio data broadcasted by Radio Sai Globa
| :warning: Internet is needed for the app to function properly. |
|-|

_*All the data inside the app is taken from [radiosai.org](https://www.radiosai.org)_
_*All the data inside the app is taken from [sssmediacentre.org](https://www.sssmediacentre.org)_

__Radio Streams include:__
- Asia Stream
Expand Down
3 changes: 2 additions & 1 deletion lib/screens/media/media.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ class _Media extends State<Media> {
bool _isLoading = true;

/// contains the base url of the downloads page
final String baseUrl = 'https://radiosai.org/program/Download.php';
final String baseUrl =
'https://schedule.sssmediacentre.org/program/Download.php';

/// the url with all the parameters (a unique url)
String finalUrl = '';
Expand Down
5 changes: 2 additions & 3 deletions lib/screens/sai_inspires/sai_inspires.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ class SaiInspires extends StatefulWidget {
}

class _SaiInspires extends State<SaiInspires> {
/// contains the base url of the images/new SI source
final String imageBaseUrl = 'http://media.radiosai.org/sai_inspires';

/// contains the updated base url of the sai inspires page
final String baseUrl =
'https://api.sssmediacentre.org/web/saiinspire/filterBy';
Expand Down Expand Up @@ -428,6 +425,8 @@ class _SaiInspires extends State<SaiInspires> {
// currently downloading image from old api and sharing it
// will send only text when old api fails
String imageFormattedDate = DateFormat('yyyyMMdd').format(selectedDate!);
const String imageBaseUrl =
'https://archive.sssmediacentre.org/sai_inspires';
String imageUrl =
'$imageBaseUrl/${selectedDate!.year}/uploadimages/SI_$imageFormattedDate.jpg';
final response = await http.head(Uri.parse(imageUrl));
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

# versioning style <major>.<feature>.<fixes>+<commits>
version: 0.12.2+154
version: 0.12.3+155

environment:
sdk: '>=2.12.0 <3.0.0'
Expand Down

0 comments on commit c4f5cd0

Please sign in to comment.