summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller/Stationboard.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2025-03-04 19:58:05 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2025-03-04 19:58:05 +0100
commitbb9a1bf609ba6e5bad00d99077212a702c15bdd6 (patch)
tree1349f1c03489721b872fbc7c566bac6a57e92ec2 /lib/DBInfoscreen/Controller/Stationboard.pm
parent4b5395efd09d3ca692a0bdf5f296cdfe03319d9f (diff)
Remove VRN; switch default backend to ÖBBHEAD4.36.1main
Diffstat (limited to 'lib/DBInfoscreen/Controller/Stationboard.pm')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 5171a21..afcb293 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -71,7 +71,7 @@ sub handle_no_results {
}
elsif ($hafas) {
$self->render_later;
- my $service = 'VRN';
+ my $service = 'ÖBB';
if ( $hafas ne '1' and Travel::Status::DE::HAFAS::get_service($hafas) )
{
$service = $hafas;
@@ -433,7 +433,7 @@ sub get_results_p {
);
}
if ( $opt{hafas} ) {
- my $service = 'VRN';
+ my $service = 'ÖBB';
if ( $opt{hafas} ne '1'
and Travel::Status::DE::HAFAS::get_service( $opt{hafas} ) )
{
@@ -2734,7 +2734,7 @@ sub stations_by_coordinates {
return;
}
- my $service = 'VRN';
+ my $service = 'ÖBB';
if ( $hafas
and $hafas ne '1'
and Travel::Status::DE::HAFAS::get_service($hafas) )
@@ -2908,6 +2908,11 @@ sub backend_list {
# (I bet it's actually Permanently Unavailable)
next;
}
+ if ( $backend->{shortname} eq 'VRN' ) {
+
+ # HTTP 403 Forbidden as of 2025-03-03
+ next;
+ }
push(
@backends,
{